[jboss-jira] [JBoss JIRA] (WFCORE-1546) Whitespaces in the middle of the value are siletly ignored

Chao Wang (JIRA) issues at jboss.org
Wed May 11 03:09:00 EDT 2016


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

Chao Wang moved JBEAP-4575 to WFCORE-1546:
------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-1546  (was: JBEAP-4575)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: CLI
                           (was: CLI)
       Target Release:   (was: 7.backlog.GA)
    Affects Version/s: 2.2.0.CR2
                           (was: 7.0.0.CR2)


> Whitespaces in the middle of the value are siletly ignored
> ----------------------------------------------------------
>
>                 Key: WFCORE-1546
>                 URL: https://issues.jboss.org/browse/WFCORE-1546
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.2.0.CR2
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>
> Whitespace in the middle of value (e.g. adding a system property with a value like "my property") is silently ignored.
> Going to the history, this behaviour changed was introduced in EAP 6.0.1
> *6.0.0*
> {noformat}
> /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level, value=   I   N   F   O)
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS011539: Log level I   N   F   O is invalid.",
>     "rolled-back" => true
> }
> /system-property=test:add(value=ha ha ha)
> /system-property=test:read-attribute(name=value)
> {
>     "outcome" => "success",
>     "result" => "ha ha ha"
> }
> {noformat}
> *6.0.1* up to *7.0.0*
> {noformat}
> /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level, value=   I   N   F   O)
> /subsystem=logging/console-handler=CONSOLE:read-attribute(name=level)
> {
>     "outcome" => "success",
>     "result" => "INFO"
> }
> /system-property=test:add(value=ha ha ha)
> /system-property=test:read-attribute(name=value)
> {
>     "outcome" => "success",
>     "result" => "hahaha"
> }
> {noformat}
> Main concern here is whether it is a correct behaviour to silently ignore the whitespace in the middle.



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


More information about the jboss-jira mailing list