myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Veraghtert (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-1517) ExternalContext.getRequestParameterMap() doesn't comply with the JSF specification
Date Wed, 03 Jan 2007 20:19:27 GMT
ExternalContext.getRequestParameterMap() doesn't comply with the JSF specification
----------------------------------------------------------------------------------

                 Key: MYFACES-1517
                 URL: https://issues.apache.org/jira/browse/MYFACES-1517
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-127
    Affects Versions: 1.1.4
            Reporter: Guy Veraghtert


According to the jsf-1_0-fr-spec-apidocs (JavaDocs for jsf-api: http://java.sun.com/javaee/javaserverfaces/download.html
--> JavaServer Faces v1.0 Specification Final Release), considered part of the JSF specification,
the method getRequestParameterMap() in javax.faces.context.ExternalContext must return an
immutable Map:
"Return an immutable Map whose keys are the set of request parameters names included in the
current request, and whose values (of type String) are the first (or only) value for each
parameter name returned by the underlying request." (http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/context/ExternalContext.html)

The org.apache.myfaces.context.servlet.ServletExternalContextImpl, however, returns a mutable
Map. This is not conform to the JSF specification.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message