[jboss-jira] [JBoss JIRA] Reopened: (JBPORTAL-2386) Response.setProperty is not resetting the value as per the api doc
Magesh Kumar B (JIRA)
jira-events at lists.jboss.org
Fri May 8 10:07:46 EDT 2009
[ https://jira.jboss.org/jira/browse/JBPORTAL-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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/portlet/PortletResponse.html#setProperty(java.lang.String,%20java.lang.String)
> "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
More information about the jboss-jira
mailing list