JSF1.2 ExternalContext methods do not handle null request/response
------------------------------------------------------------------

                 Key: ADFFACES-458
                 URL: https://issues.apache.org/jira/browse/ADFFACES-458
             Project: MyFaces ADF-Faces
          Issue Type: Bug
         Environment: JSF 1.2 Branches only
            Reporter: Scott O'Bryan


The Trinidad ServletExternalContext is designed to support the 
TrinidadConfigurators.  As a result, one can construct an externalContext with 
a null request and response.  Throughout the rest of the class, when a method 
is executed that requires a request and/or a response and one is not present, 
an UnsupportedOperationException is thrown.  The methods in question will throw 
a NullPointerException.  Therefore, we need to add a _checkRequest(); or 
_checkResponse(); call to the following methods:

getRequestCharacterEncoding
getRequestContentType
getResponseCharacterEncoding
getResponseContentType
setRequestCharacterEncoding
setResponseCharacterEncoding


-- 
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