-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: 7.0.0 M4
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE, 7.0.0 M5
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Git Pull Request:
JSP hooks
Currently the portal doesn't check whether a plugin tries to override a file which has already overridden by another hook and the result is unpredictable in this cases.
Steps to reproduce:
- Create two JSP hooks (TestJSP-Hook-1,TestJSP-Hook-2) which overrides the same /portal-web/docroot/html/portlet/login/login.jsp with different content
- Deploy the hooks one by one
Actual result: The portal allows to override the same login.jsp again from TestJSP-Hook-2 and doesn't check if it was already overridden
Expected result: The portal should throw an error on deploy time when it notices that the plugin to be deployed tries to override the same file
Note for QA: On ee-6.2.x you should set the following property to true in your portal-ext.properties to able to test it:
hot.deploy.hook.custom.jsp.verification.enabled=true
- causes
-
LPS-60992 Logging for custom JSP files is wrong
- Closed
- Discovered while testing
-
LPS-55202 Deploying a hook which will be undeployed immediately causes NPE when Resource Importer is already deployed
- Closed
- relates
-
LPE-13694 Improve plugins to not allow other JSP hooks to override already overridden files
-
- Closed
-