Bug 793963 (JBEPP-1036)

Summary: Unknown error when edit dashboard with more than 2 gadgets
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Michal Vanco <mvanco>
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GA, 5.1.1.CR01CC: epp-bugs, hfnukal, mvecera, smumford
Target Milestone: ---   
Target Release: 5.1.1.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1036
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
EPP5.1.1 CR01
Last Closed: 2011-08-02 13:28: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 Flags
dashboard-unknown.png
none
dashboard-unknown.txt none

Description Michal Vanco 2011-07-28 20:47:49 UTC
Affects: Release Notes
project_key: JBEPP

There is a special scenario how to get Unknown error dialog on dashboard.

- sign in as any user
- go to Dashboard
- create new page (dashboard)
- add 2 portlets on dashboard (any)
- Dashboard Editor -> Edit page
- click Finish button -> Unknown error thrown
(this is the simplest scenario which worked for me, I did some more additional actions when I found it)

Note that I've reproduced it with 5.1.1 DEV01 and 5.1.0 GA as well.

Comment 1 Michal Vanco 2011-07-28 20:49:23 UTC
Link: Added: This issue relates to JBQA-4899


Comment 2 Michal Vanco 2011-07-29 06:38:28 UTC
Attachment: Added: dashboard-unknown.png
Attachment: Added: dashboard-unknown.txt


Comment 3 Scott Mumford 2011-08-09 04:24:52 UTC
Release Notes Docs Status: Added: Needs More Info
Release Notes Text: Added: This issue requires more information about the underlying cause and the fix implemented if it requires a 5.1.1 Release Note.


Comment 4 Michal Vanco 2011-08-24 11:18:10 UTC
Release Notes Text: Removed: This issue requires more information about the underlying cause and the fix implemented if it requires a 5.1.1 Release Note. Added: Editing dashboard with more than 2 gadgets on it lead to NullPointerException thrown in MOPConsumerStructureProvider class (Unknown error dialog was displayed in User interface). 
Fix has updated the class to handle scenario when windowName is null.
Affects: Added: [Release Notes]


Comment 5 Michal Vanco 2011-08-24 11:21:58 UTC
Release Notes Text: Removed: Editing dashboard with more than 2 gadgets on it lead to NullPointerException thrown in MOPConsumerStructureProvider class (Unknown error dialog was displayed in User interface). 
Fix has updated the class to handle scenario when windowName is null. Added: Editing dashboard page with more than 2 gadgets on it lead to NullPointerException thrown in MOPConsumerStructureProvider class (Unknown error dialog was displayed in User interface). 
Fix has updated the class to handle scenario when windowName is null.


Comment 6 Scott Mumford 2011-08-25 03:30:43 UTC
Release Notes Text: Removed: Editing dashboard page with more than 2 gadgets on it lead to NullPointerException thrown in MOPConsumerStructureProvider class (Unknown error dialog was displayed in User interface). 
Fix has updated the class to handle scenario when windowName is null. Added: It was found that editing a dashboard page that contained more than two gadgets would produce a NullPointerException in the MOPConsumerStructureProvider class and result in an "Unknown error" dialog in the User interface. The MOPConsumerStructureProvider class has been updated to handle scenarios wherein the windowName is null, resolving this issue.


Comment 7 Scott Mumford 2011-08-29 07:45:38 UTC
Can I remove the 5.2.0.DEV02 fix version from this ticket to prevent it appearing in 5.2.0 filters?

Comment 8 Thomas Heute 2011-11-28 09:31:16 UTC
Release Notes Docs Status: Removed: Needs More Info Added: Documented as Resolved Issue