Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1557

PropertiesAttributeDefinition unwrap does not properly handle undefined values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Alpha1
    • 2.2.0.CR2
    • Management
    • None

    Description

      The unwrap method resolves the value of the map entries but does not check if they are defined before calling asString(). So an undefined value will store as string "undefined" instead of null.

      The class doesn't any way to configure or check whether null is ok; perhaps I'll improve that as well. <--- was incorrect

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: