-
Bug
-
Resolution: Done
-
Major
-
2.2.0.CR2
-
None
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.
- clones
-
JBEAP-4536 Whitespaces in the middle of the value are siletly ignored
-
- Verified
-