Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.1.4
-
None
-
None
Description
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.