Bug 793721 (JBEPP-794)

Summary: The header will be duplicated if contains a portlet adding more one resource to header
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Martin Weiler <mweiler>
Component: PortalAssignee: Thomas Heute <theute>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GACC: epp-bugs, mweiler, patrice.lamarque
Target Milestone: ---   
Target Release: 5.1.1.DEV01   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-794
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-10 15:47:50 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:

Description Martin Weiler 2011-02-09 08:32:58 UTC
Link type: Superset, Source: JBEPP-794, Destination: JBEPP-795
Affects: Release Notes
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000006I4Gx
project_key: JBEPP

From linked GTNPORTAL-1753:

1/ Create a new portlet and use doHeader method to add some resources to header (e.g add a js and css to header)
2/ Add the portlet to a portal page
3/ Check in the header of this page, we can see the resource which portlet's added to header is duplicated

Comment 1 Martin Weiler 2011-02-09 08:33:49 UTC
Link: Added: This issue is a dependency of GTNPORTAL-1753


Comment 2 Martin Weiler 2011-02-09 08:34:35 UTC
Link: Added: This issue depends GTNPORTAL-1753


Comment 3 Martin Weiler 2011-02-09 08:34:46 UTC
Link: Removed: This issue is a dependency of GTNPORTAL-1753 


Comment 4 Martin Weiler 2011-02-09 08:37:28 UTC
The patch proposal added to GTNPORTAL-1753 on 10/Jan/11 by Khoi Nguyen fixes this issue.

Comment 5 Martin Weiler 2011-02-10 10:04:36 UTC
Link: Added: This issue incorporates JBEPP-795


Comment 6 Thomas Heute 2011-03-10 15:47:50 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: When adding multiple resources to the portal headers, the resources where added multiple times.


Comment 7 Scott Mumford 2011-04-29 00:36:12 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Needs More Info
Release Notes Text: Removed: When adding multiple resources to the portal headers, the resources where added multiple times. Added: Cause: NEEDINFO
Consequence: Resources (js, css, etc) added to new portlets with the doHeaders() method were added twice.
Fix: A patch has been applied that... NEEDINFO (What does the patch do?)
Result: New resources are only linked once.


Comment 8 Thomas Heute 2011-04-29 07:41:15 UTC
Release Notes Text: Removed: Cause: NEEDINFO
Consequence: Resources (js, css, etc) added to new portlets with the doHeaders() method were added twice.
Fix: A patch has been applied that... NEEDINFO (What does the patch do?)
Result: New resources are only linked once. Added: Cause: A bug when adding resources to the Head of the HTML response
Consequence: Resources (js, css, etc) added to new portlets with the doHeaders() method were added twice.
Fix: A patch has been applied to fix the bug.
Result: New resources are only linked once.


Comment 9 Thomas Heute 2011-04-29 07:41:47 UTC
Release Notes Docs Status: Removed: Needs More Info Added: Not Yet Documented


Comment 10 Scott Mumford 2011-05-03 04:19:12 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue


Comment 11 Scott Mumford 2011-05-04 04:09:29 UTC
Release Notes Text: Removed: Cause: A bug when adding resources to the Head of the HTML response
Consequence: Resources (js, css, etc) added to new portlets with the doHeaders() method were added twice.
Fix: A patch has been applied to fix the bug.
Result: New resources are only linked once. Added: When adding resources (js, css, etc) to the Head of the HTML response with the doHeaders method a bug was encountered which caused those resources to be added twice. A patch has been applied to fix the bug and new resources are now only linked once.