]
Magesh Kumar B reopened JBPORTAL-2386:
--------------------------------------
Assignee: Magesh Kumar B (was: Thomas Heute)
addPropery now does not add multiple values
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)
Components: Portal Portlet
Affects Versions: 2.7.2 Final
Reporter: Magesh Kumar B
Assignee: Magesh Kumar B
Fix For: 2.7.3 Final
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: