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

PropertiesAttributeDefinition unwrap does not properly handle undefined values

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: