[jboss-jira] [JBoss JIRA] (WFCORE-3484) Variables can't be set and used inside if/try blocks

Erich Duda (JIRA) issues at jboss.org
Wed Jan 3 05:51:00 EST 2018


    [ https://issues.jboss.org/browse/WFCORE-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508871#comment-13508871 ] 

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 at embedded /] if (outcome != success) of /system-property=test:read-resource
> [standalone at embedded /] set foo=bar
> [standalone at embedded /] echo $foo
> Unrecognized variable foo
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list