-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 6.1.20 EE GA2
-
Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M4
-
Component/s: Legacy, Legacy > Control Panel menu
-
Labels:None
-
Environment:Windows 7 x64, Postgres DB
I can override some Portlet struts actions, but not the EditGroupAction for when a site is edited.
The attached hook project is successfully invoked for the render() action, but fails with an NPE when the user clicks save. Since other portlet actions override quite well, I'm wondering if this has anything to do with security, since this portlet lives in the Control Panel.
To reproduce:
1) Deploy (or recreate) the attached Hook project to Portal v6.1.20
2) Edit a site via the Control Panel
3) Verify the "Edit Site" page comes up correctly.
4) Click the "Save" button and receive this error page: The webpage at http://localhost:8080/group/control_panel/manage?p_auth=elhB9KZ4&p_p_id=165&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&doAsGroupId=10810&refererPlid=10852&_165_struts_action=%2Fsite_settings%2Fedit_site might be temporarily down or it may have moved permanently to a new web address
Log output (from clicking 'Save') attached.
Blog article guiding my actions so far: http://www.liferay.com/de/web/mika.koivisto/blog/-/blogs/overriding-and-adding-struts-actions-from-hook-plugins
- duplicates
-
LPS-29004 Struts action hooks fail if the struts path is used as a parent-struts-path
- Closed