[jboss-jira] [JBoss JIRA] (WFLY-3170) system properties are trim()'d and loose whitespace

Brian Stansberry (JIRA) issues at jboss.org
Wed Apr 9 16:08:12 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12960635#comment-12960635 ] 

Brian Stansberry commented on WFLY-3170:
----------------------------------------

Note that the org.jboss.as.controller.AttributeParser class has logic equivalent to that in SimpleAttributeDefinition, as does ListAttributeDefinition and MapAttributeDefinition. Any subclass of AttributeDefinition should be checked.
                
> system properties are trim()'d and loose whitespace
> ---------------------------------------------------
>
>                 Key: WFLY-3170
>                 URL: https://issues.jboss.org/browse/WFLY-3170
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>    Affects Versions: 8.0.1.Final
>            Reporter: Tom Fonteyne
>            Assignee: Brian Stansberry
>
> When a system property was defined as:
>   /system-property=foo:add(value="    spaces  ");
> it gets written with the correct spaces around it to the configuration file.
> When the configuration is read the value gets trimmed and the prefix/suffix of spaces is lost.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list