[jboss-jira] [JBoss JIRA] (WFCORE-1557) PropertiesAttributeDefinition unwrap does not properly handle undefined values

Brian Stansberry (JIRA) issues at jboss.org
Tue May 17 17:22:00 EDT 2016


Brian Stansberry created WFCORE-1557:
----------------------------------------

             Summary: PropertiesAttributeDefinition unwrap does not properly handle undefined values
                 Key: WFCORE-1557
                 URL: https://issues.jboss.org/browse/WFCORE-1557
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 2.2.0.CR2
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list