]
Erich Duda commented on WFCORE-3484:
------------------------------------
Thanks for the reply. I have updated the Jira to describe the issue 1) as the wrong error
messages were caused by that issue.
Variables can't be set and used inside if/try blocks
----------------------------------------------------
Key: WFCORE-3484
URL:
https://issues.jboss.org/browse/WFCORE-3484
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 4.0.0.Alpha5
Reporter: Erich Duda
Assignee: Jean-Francois Denise
If you try to write the following commands into the CLI you will get an error
{{Unrecognized variable}}.
{code}
[standalone@embedded /] if (outcome != success) of /system-property=test:read-resource
[standalone@embedded /] set foo=bar
[standalone@embedded /] echo $foo
Unrecognized variable foo
{code}