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
    • Similar Issues:
      Show 5 results 

      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.

        Activity

        Hide
        Serena Song (Inactive) added a comment -

        Keep working on install the ClamAV and configure it on Linux system.

        Show
        Serena Song (Inactive) added a comment - Keep working on install the ClamAV and configure it on Linux system.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 43 weeks, 6 days ago

              Development

                Structure Helper Panel