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
/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"
}
6.0.1 up to 7.0.0
/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"
}
Main concern here is whether it is a correct behaviour to silently ignore the whitespace in the middle.
- is cloned by
-
WFCORE-1546 Whitespaces in the middle of the value are siletly ignored
-
- Resolved
-
- is incorporated by
-
JBEAP-5310 (7.1.0) Upgrade to WildFly Core 3.0.0.Alpha4
-
- Verified
-
- is related to
-
JBEAP-4529 Document extra cases for adding a value via CLI
-
- Closed
-