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

      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

            Assignee:
            mark.jin Mark Jin (Inactive)
            Reporter:
            daniel.reuther Daniel Reuther
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 38 weeks, 3 days ago

                Packages

                Version Package
                6.2.0 CE M3
                6.2.0 CE RC5