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

Brian Stansberry (JIRA) issues at jboss.org
Wed Mar 26 08:37:13 EDT 2014


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

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

AIUI you are suggesting using different logic for ModelType.PROPERTY?

That won't work; very few attributes are of type PROPERTY. I'm quite sure a system property resource's value attribute is type STRING.

I'm opposed to changing the AttributeDefinition.parse method, at least for EAP 6.3.x. That will effect nearly every attribute in the system and could produce undesired changes in behavior.
                
> 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