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

Add 'dl.store.antivirus.enabled' as a hook overwrite-able portal.properties keys.

Details

    Description

      Currently, 'dl.store.antivirus.enabled' is not supported to be overridden via hook. However, Liferay Portal 6.2 allows the hook configuration in a portlet or hook plugin to over-ride property "dl.store.antivirus.impl", which defines the class/service implementing interface AntivirusScanner.
      This leads to the situation where property "dl.store.antivirus.enabled" must be enabled in "portal-ext.properties", while property "dl.store.antivirus.impl" is defined in the portal/ROOT "portal.properties" file, or over-ridden by plugin "portal.properties".
      It is not possible to enable/disable both properties in the plugin "portal.properties".
      This leads to inconsistency and confusion with portal property configuration and usage.

      Request: Add 'dl.store.antivirus.enabled' as a hook overwrite-able portal.properties keys.

      Attachments

        Issue Links

          Activity

            People

              sherly.liu Sherly Liu (Inactive)
              emma.liu Emma Liu
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 41 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP2
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.1.X
                  Master