Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.1, 2.0.2
-
None
-
Jetspeed 2.2.1 with Pluto 2.0.1 as a portlet container.
Description
If you set the ResourceResponse.HTTP_STATUS_CODE property of the ResourceResponseImpl object, the status remains unchanged. Without this capability ajax calls return 200 Success even if you set an error.
Following code change in ResourceResponseImpl fixes an issue:
@Override
public void setProperty(String name, String value)
{
if (HTTP_STATUS_CODE.equals(name))
else
{ super.setProperty(name, value); }}