Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-655

RequestMap doesn't implement putAll as it should

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: