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

_ComponentAttributesMap return null when no property descriptor is available and null value is passed to map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • JSR-314, JSR-344
    • None

    Description

      Checking some stuff I have found that there is an old check for null in ComponentAttributesMap.put(...)

      This check doesn't have sense, because null values are valid for hashmap, and in that sense the check is useless.

      The fix is very simple, just remove the unnecessary check. I just comment the related code, to prevent other people to try to add it in the future.

      The fix will be done on 2.0.x, 2.1.x and 2.2.x branches

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: