Bug 793721 (JBEPP-794) - The header will be duplicated if contains a portlet adding more one resource to header
Summary: The header will be duplicated if contains a portlet adding more one resource ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-794
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.1.0.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.1.DEV01
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-09 08:32 UTC by Martin Weiler
Modified: 2012-02-28 16:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-10 15:47:50 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-794 0 Major Closed The header will be duplicated if contains a portlet adding more one resource to header 2013-02-12 13:27:24 UTC

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.



Note You need to log in before you can comment on or make changes to this bug.