[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:27:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1557:
-------------------------------------
    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

  was:
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.



> 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.- <--- was incorrect



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


More information about the jboss-jira mailing list