-
Bug
-
Resolution: Done
-
Major
-
None
-
None
It's not possible to check the result containing whitespace with the equals to (==) comparison operator in the "if-else" control flow in JBoss-CLI.
For example, when you have the following configuration in your standalone.xml
<system-properties> <property name="foobar" value="foo bar"/> </system-properties>
then execute the following CLI:
if (result == "foo bar") of /system-property=foobar:read-attribute(name=value) echo system property foobar == foo bar else echo system property foobar != foo bar end-if
Expected result:
system property foobar == foo bar"
Actual result:
system property foobar != foo bar
- clones
-
JBEAP-23010 [GSS](7.4.z) WFCORE-5765 - Unable to check the result containing whitespace with the equals to (==) comparison operator in the "if-else" control flow in JBoss-CLI
- Closed