Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31916

Unable to install Apps from Market Place when antivirus check is enabled

    Details

    • Fix Priority:
      4

      Description

      Since we're passing an HttpInputStream to the DLStoreUtil, the stream will be exhausted by the antivirus check before it can be persisted into to the store.

      Steps to reproduce:
      1) Enable antivirus check:
      dl.store.antivirus.enabled=true
      dl.store.antivirus.impl=com.liferay.portlet.documentlibrary.antivirus.ClamAntivirusScannerImpl
      2) Download an App via the Market Place portlet
      3) Try to install it
      Since the file in the DL store is empty (0 byte in size), this operation will fail (ZipException) and the UI will display the Download button again.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 47 weeks, 3 days ago