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

AntivirusScannerException is not handled very well in components using document library

    Details

    • Branch Version/s:
      6.2.x, 6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      8
    • Fix Priority:
      4

      Description

      Steps to reproduce:
      1. Apply the

      dl.store.antivirus.enabled=true

      in the portal-ext.properties and start the portal.
      2. Deploy the fake-antivirus-scanner-hook-7.0.0.1-for-reproduction.war (it acts a virus scanner, but does nothing special, simply throws AntivirusScannerException for each uploaded file. See: https://github.com/lipusz/liferay-plugins/commits/LPS-45614-test-hook-master)
      3. Upload any file to DM.

      Result: An AntivirusScannerException is thrown which doesn't get handled.

      === For testing the solution (QA)
      Deploy fake-antivirus-scanner-hook-7.0.0.1-for-testing-solution.war

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 40 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M2