-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, Master
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP2, 7.0.0 DXP SP1, 7.0.3 CE GA4, 7.1.X, Master
-
Component/s: Dev Tools, Dev Tools > Plugins SDK
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
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.
- relates
-
LPE-15255 The dl.store.antivirus.enabled property cannot be overridden via hook
-
- Closed
-