Response.setProperty is not resetting the value as per the api doc
------------------------------------------------------------------
Key: JBPORTAL-2386
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2386
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.7.2 Final
Reporter: Magesh Kumar B
Assignee: Thomas Heute
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/portle...
"This method resets all properties previously added with the same key."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira