Bug 1094772 - Different Portlet preference for remote portlets added on the same page
Summary: Different Portlet preference for remote portlets added on the same page
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal
Version: 6.1.1
Hardware: All
OS: All
unspecified
medium
Target Milestone: ER04
: 6.2.0
Assignee: Nobody
QA Contact: vramik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-06 13:09 UTC by Anurag
Modified: 2023-02-27 08:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the way portlet preferences were stored in WSRP could result in two instances of the same WSRP portlet to share the same portlet ID. This resulted in one portlet overwriting the preferences of the other portlet. The fix implements improvements to WSRP portlet preference storage by storing preferences based on a unique ID generated for each portlet instance. This separates portlet preferences from other portlet instances.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GTNWSRP-376 0 Major Closed Different Portlet preference for remote portlets added on the same page 2015-05-19 12:55:21 UTC

Description Anurag 2014-05-06 13:09:52 UTC
Description of problem:

When two instances of the same remote portlet is added to the same page, changes made to the preferences of one portlet is picked up by the other portlet as well.

Ideally, portlets should get their own preference/s.


Version-Release number of selected component (if applicable):


How reproducible:

Always.

Steps to Reproduce:

- Deploy PortletPreferencesPortlet.war . The portlet is already marked remotable.
    Use the Application Registry to register the portlet.

- Next, I refreshed the selfv2 WSRP consumer, which should make the PortletPreferencesPortlet available in the
    portlet --> remote view of the Application Registry.
    
- Create a new page (eg: http://localhost:8080/portal/classic/home/testRemote), add the remote portlet twice.

-Using edit mode on the two portlet instances (via the interface itself), change the 'color' preference .



Actual results:


When the colour preference of one portlet is changed, the second one added to the page also takes the same preference.

Expected results:

Both the portlets should have their individual preference/s.

Additional info:

Comment 6 Juraci Paixão Kröhling 2014-06-04 15:23:41 UTC
Merged.

Comment 7 JBoss JIRA Server 2014-06-04 15:24:15 UTC
Juraci Paixão Kröhling <jpkroehling> updated the status of jira GTNWSRP-376 to Closed

Comment 8 Peter Palaga 2014-06-21 10:32:21 UTC
Honzo, as stated above in comments and in Target Milestone field, this fix arrives in ER4, therefore you set the status to ON_QA too early. Setting back to MODIFIED.

Comment 9 vramik 2014-07-02 14:31:02 UTC
Verified in ER04. 
Both the portlets have their individual preferences (colors).


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