| Summary: | Editing of undeployed portlets leads to multiple errors | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Miroslav Cupák <mcupak> |
| Component: | Portal | Assignee: | Default User <jbpapp-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.2.1.ER01 | CC: | epp-bugs, hfnukal, mcupak, tkyjovsk |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-06 11:39:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Attachments: | |||
|
Description
Miroslav Cupák
2012-03-09 15:22:32 UTC
Created attachment 568938 [details]
NPE from the server log which appears after clicking "Edit Portlet" button.
Created attachment 568939 [details]
NPE from the server log after saving the changes.
Created attachment 568945 [details]
Error message appearing after finishing page editing.
Created attachment 568946 [details]
Edit portlet dialog rendered on a different page.
Created attachment 568947 [details]
Error message appearing when trying to save the changes.
Compared with EPP 5.2.0.GA to determine if it's a regression and 5.2.0 responds to the error in a slightly different way: Ad steps to reproduce: 1-6: The same result. 7: No dialog is shown, but you hit the NPE. 8+: Attempt at closing the page editor results in the following error: ERROR [portal:PortalRequestHandler] Error while handling request org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=1,line=58],data= String msgValue = mess.getMessage();] for template system:/groovy/webui/core/UIPopupMessages.gtmpl ...and no action in the UI happens, the only way to exit the editor is to save the changes. Having done that, you are back at the page with your portlet, but the portal is broken. Wherever you navigate, you get the following error: ERROR [portal:PortalRequestHandler] Error while handling request org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=14,line=25],data=uicomponent.renderChildren();] for template system:/groovy/portal/webui/workspace/UIPortalApplicationChildren.gtmpl ...and the portal styles and scripts are not loaded properly. |