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

setValue() method of ValueBindingImpl does not behave properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1
    • JSR-127
    • None

    Description

      According to section 5.1.4 of the specification (p. 5-4) ...

      If you have #

      {expr-a[value-b]}

      where value-a is a Map then ...
      call value-a.put(value-b, newValue).

      The MyFaces implementation is coercing newValue into String which is incorrect behavior.

      NOTE: I discovered the problem while using a bean that was programatically added to the session map. So there is is no class defined in faces-config.xml. I don't think this should matter but I thought I would mention it.

      Attachments

        1. MYFACES-623.patch
          4 kB
          Sean Schofield

        Activity

          People

            oros Oliver Rossmueller
            schof Sean Schofield
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: