MyFaces Core
  1. MyFaces Core
  2. MYFACES-655

RequestMap doesn't implement putAll as it should

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The JSF description of for the ExternalContext.getRequestMap() method says:

      """Return a mutable Map representing the request scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of request scope attributes."""

      yet MyFaces returns a RequestMap class which throws UnsupportedOperationException for both the putAll() and the clear() methods.

      This is a major bug which will break apps (like mine) that depend on being able to add params via putAll(), for example.

        Activity

        Colin Sampaleanu created issue -
        Oliver Rossmueller made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mathias Broekelmann made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Mathias Broekelmann [ mbroekelmann ]
        Resolution Won't Fix [ 2 ]
        Mathias Broekelmann made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Mathias Broekelmann made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        sean schofield made changes -
        Workflow jira [ 12330684 ] MyFaces Workflow [ 12347639 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347639 ] MyFaces Workflow2 [ 12348939 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347639 ] MyFaces Workflow2 [ 12348993 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347639 ] MyFaces Workflow2 [ 12349072 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12349072 ] MyFaces Workflow [ 12353631 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12353631 ] MyFaces Workflow2 [ 12355202 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12355202 ]  MyFaces Workflow [ 12356655 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12356655 ] MyFaces Workflow2 [ 12360472 ]

          People

          • Assignee:
            Mathias Broekelmann
            Reporter:
            Colin Sampaleanu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development