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

    • 6.2.x, 6.1.x
    • Committed
    • 8
    • 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

              hong.zhao Hong Zhao (Inactive)
              samuli Samuli Saarinen (Inactive)
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 26 weeks, 2 days ago

                Packages

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