Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1094772 - Different Portlet preference for remote portlets added on the same page
Different Portlet preference for remote portlets added on the same page
Status: VERIFIED
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal (Show other bugs)
6.1.1
All All
unspecified Severity medium
: ER04
: 6.2.0
Assigned To: Juraci Paixão Kröhling
vramik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 09:09 EDT by Anurag
Modified: 2016-10-30 18:59 EDT (History)
6 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker GTNWSRP-376 Major Closed Different Portlet preference for remote portlets added on the same page 2015-05-19 08:55:21 EDT

  None (edit)
Description Anurag 2014-05-06 09:09:52 EDT
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 11:23:41 EDT
Merged.
Comment 7 JBoss JIRA Server 2014-06-04 11:24:15 EDT
Juraci Paixão Kröhling <jpkroehling@redhat.com> updated the status of jira GTNWSRP-376 to Closed
Comment 8 Peter Palaga 2014-06-21 06:32:21 EDT
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 10:31:02 EDT
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.