History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-2099
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Eric Dalquist
Reporter: Matt Peterson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Portlet titles are not rendering consistently

Created: 22/Jun/08 06:57 PM   Updated: 15/Sep/08 06:46 PM
Component/s: Rendering architecture
Affects Version/s: 3.0.0, 3.0.1
Fix Version/s: 3.1.0-M1, 3.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: JSR-168 portlet extending GenericPortlet
Issue Links:
Generic Relation
This issue relates to:
UP-2112 Allow portal admins to specify that p... Major Closed
 


 Description  « Hide
Regardless of if a title is explicitly set in the portlet's doView method (using the RenderRequest.setTitle() method) or if the title is gathered by GenericPortlet's setTitle() call, the actual title of the portlet when rendered is inconsistent.

On first render of a tab and its contents, the titles are correctly set. However, if the portlet is rendered from cache instead of from direct interaction with it (view another tab then view the first tab again), the title ends up being whatever was set when the portlet was configured in Channel Manager. If I then interact with a portlet (maximise, change modes, etc), the title of that portlet is set correctly.

For example, if I have two instances of the same portlet side by side on the one tab, on the first view of that tab the titles will be correct. If I then click the edit button on one to change it to edit mode, the title of the one in edit mode will be correct, but the title of the other one will have now changed to whatever was set in channel manager!

This happens with all of our portlets. However, I have noticed that this strange behaviour does *not* occur with the spring MVC based uPortal test portlet! This problem *does* happen with the Apache functional tests portlet though, which is not spring based.

 All   Comments   Work Log   Change History      Sort Order:
Eric Dalquist [29/Jul/08 09:05 AM]
Add the channel title to the ChannelCacheEntry