incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <>
Subject [jira] Assigned: (ADFFACES-458) JSF1.2 ExternalContext methods do not handle null request/response
Date Wed, 18 Apr 2007 17:28:15 GMT


Matthias Weßendorf reassigned ADFFACES-458:

    Assignee: Matthias Weßendorf

> JSF1.2 ExternalContext methods do not handle null request/response
> ------------------------------------------------------------------
>                 Key: ADFFACES-458
>                 URL:
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 2.0.0-incubating-core-SNAPSHOT
>         Environment: JSF 1.2 Branches only
>            Reporter: Scott O'Bryan
>         Assigned To: Matthias Weßendorf
>             Fix For: 2.0.0-incubating-core-SNAPSHOT
>         Attachments: 14-ADFFACES-458.patch
> 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.

View raw message