Bug 794463 (JBEPP-1503)

Summary: ResourceIDs are sometimes lost when serving portlet resources
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Matt Wringe <mwringe>
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.1.GACC: epp-bugs, jmorgan, theute
Target Milestone: ---   
Target Release: 5.2.1.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1503
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was discovered that ResourceIDs were sometimes lost when serving resources during a portlet invocation. This would cause the resourceIds to be null, resulting in resources not being properly fetched. The fix implements logic changes that now provide additional checks within the portal for resourceIDs. Resources now function more reliably, particularly when using the portlet bridge over WSRP.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 15:58:29 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:
Embargoed:

Description Matt Wringe 2012-02-06 14:36:05 UTC
project_key: JBEPP

see issue GTNPORTAL-2347

Comment 1 Matt Wringe 2012-02-06 14:36:32 UTC
Link: Added: This issue depends GTNPORTAL-2347


Comment 2 Matt Wringe 2012-02-07 15:58:29 UTC
We need to also check the Portal RequestContext parameter list for the resource id, since it can sometimes be specified here. This issue should fix a bunch of problems retrieving resources over the portlet bridge and wsrp.

Comment 3 Jared MORGAN 2012-03-27 04:11:01 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
== IS THIS ISSUE FOR EPP 5.2.1, AND DOES IT REQUIRE RN ==

Comment 4 Matt Wringe 2012-03-27 14:44:48 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,7 @@
-== IS THIS ISSUE FOR EPP 5.2.1, AND DOES IT REQUIRE RN ==+Cause: We were missing a location to check for resourceIds when setting the resourceID for the portlet invocation.
+
+Consequence: The resourceIds would sometimes be null, resulting in resources not being properly fetched.
+
+Fix: also check the Portal ResourceContext for resourceIDs
+
+Result: resources work much better, especially when using the portlet bridge over wsrp.

Comment 5 Jared MORGAN 2012-03-28 01:13:06 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,7 +1 @@
-Cause: We were missing a location to check for resourceIds when setting the resourceID for the portlet invocation.
+It was discovered that ResourceIDs were sometimes lost when serving portlet resources because there was no way to check for resourceIds when setting the resourceID for the portlet invocation. The resourceIds would sometimes be null, resulting in resources not being properly fetched. The fix implements logic changes that now additionally check the Portal ResourceContext for resourceIDs. Resources now function more reliably, particularly when using the portlet bridge over WSRP.-
-Consequence: The resourceIds would sometimes be null, resulting in resources not being properly fetched.
-
-Fix: also check the Portal ResourceContext for resourceIDs
-
-Result: resources work much better, especially when using the portlet bridge over wsrp.

Comment 6 Matt Wringe 2012-03-28 13:20:20 UTC
Updated the release notes to make it a bit more clear. There was a way for us to check the resourceIds, we were just not looking in all the right places for it. The Portal ResourceContext is an internal class, and I don't think we should be mentioning it (as its not something a normal user would even know about).

Comment 7 Matt Wringe 2012-03-28 13:20:20 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-It was discovered that ResourceIDs were sometimes lost when serving portlet resources because there was no way to check for resourceIds when setting the resourceID for the portlet invocation. The resourceIds would sometimes be null, resulting in resources not being properly fetched. The fix implements logic changes that now additionally check the Portal ResourceContext for resourceIDs. Resources now function more reliably, particularly when using the portlet bridge over WSRP.+It was discovered that ResourceIDs were sometimes lost when serving resources during a portlet invocation. The would cause the resourceIds to be null, resulting in resources not being properly fetched. The fix implements logic changes that now provide additional checks within the portal for resourceIDs. Resources now function more reliably, particularly when using the portlet bridge over WSRP.

Comment 9 Jared MORGAN 2012-03-28 20:31:18 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-It was discovered that ResourceIDs were sometimes lost when serving resources during a portlet invocation. The would cause the resourceIds to be null, resulting in resources not being properly fetched. The fix implements logic changes that now provide additional checks within the portal for resourceIDs. Resources now function more reliably, particularly when using the portlet bridge over WSRP.+It was discovered that ResourceIDs were sometimes lost when serving resources during a portlet invocation. This would cause the resourceIds to be null, resulting in resources not being properly fetched. The fix implements logic changes that now provide additional checks within the portal for resourceIDs. Resources now function more reliably, particularly when using the portlet bridge over WSRP.