Bug 792991 (JBEPP-71) - Response.setProperty is not resetting the value as per the api doc
Summary: Response.setProperty is not resetting the value as per the api doc
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-71
Product: JBoss Enterprise Portal Platform 4
Classification: JBoss
Component: Portal
Version: 4.3.0.GA_CP1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.0.GA_CP2
Assignee: Magesh Bojan
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks: 792993
TreeView+ depends on / blocked
 
Reported: 2009-05-06 05:59 UTC by Magesh Bojan
Modified: 2012-02-28 16:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-06 11:45:42 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-71 0 None None None Never

Description Magesh Bojan 2009-05-06 05:59:45 UTC
project_key: JBEPP

Calling ActionResponse.setProperty or RenderResponse.setProperty does not reset the property value. The reason is that the PortletResponseImpl.setProperty calls addProperty which in turn calls getProperties().getTransportHeaders().addValue(key, value) rather than resetting it by calling getProperties().getTransportHeaders().setValue(key, value).

http://docs.jboss.com/jbportal/v2.7.0/javadoc-bundle/portlet/javax/portlet/PortletResponse.html#setProperty(java.lang.String,%20java.lang.String)

"This method resets all properties previously added with the same key."

Comment 1 Magesh Bojan 2009-05-06 06:00:20 UTC
Link: Added: This issue depends JBPORTAL-2386


Comment 2 Magesh Bojan 2009-05-06 12:31:21 UTC
Link: Added: This issue is a dependency of JBEPP-73



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