ExternalContext.getResponseCharacterEncoding and getResponseContentType fail 
-----------------------------------------------------------------------------

                 Key: PORTLETBRIDGE-130
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-130
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
          Components: Impl
    Affects Versions: 2.0.0-alpha
            Reporter: Michael Freedman
            Assignee: Michael Freedman


Both of the above methods have the same incorrect check:
if (getPortletPhase() != null && mPortletRequest instanceof MimeResponse)

where the test shoudl be the opposite -- !mPortletRequest instanceof 
MimeResponse)

this causes an exception to be thrown in the normal case (render) while not in 
the abnormal case (action)

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

Reply via email to