myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Wilson (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (PORTLETBRIDGE-141) External context implementation returns content-type header
Date Tue, 11 May 2010 20:05:41 GMT
External context implementation returns content-type header
-----------------------------------------------------------

                 Key: PORTLETBRIDGE-141
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-141
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
          Components: Impl
    Affects Versions: 2.0.0-alpha
         Environment: TCK running in WLS environment.
            Reporter: Alistair Wilson
            Priority: Minor


The TCK test, getRequestHeaderMapRender, is failing when the CONTENT-TYPE header is returned
in ExternalContext#getRequestHeaderMap.

According to section 6.1.3.1 of the portlet bridge spec, 

"This Map must include the set of properties available via the javax.portlet.PortletRequest
methods getProperty() and getPropertyNames() except when executing a RENDER_REQUEST.  Within
a RENDER_REQUEST, the map must exclude the CONTENT-TYPE property (if it is present in the
underlying request). "

The org.apache.myfaces.portlet.faces.util.map.PortletRequestHeaders class should check for
and exclude the CONTENT-TYPE header when returning headers from the contained PortletRequest
object.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message