Erich Duda created WFCORE-3490:
----------------------------------
Summary: IllegalArgumentException when for loop is used for command producing
non iterable result
Key: WFCORE-3490
URL:
https://issues.jboss.org/browse/WFCORE-3490
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 4.0.0.Alpha5
Reporter: Erich Duda
Assignee: Jean-Francois Denise
{code}
[standalone@embedded /] set name=World
[standalone@embedded /] for var in :resolve-expression(expression=Hello $name!)
java.lang.IllegalArgumentException
{code}
As you can see in the example, the commands produce {{IllegalArgumentException}}. Instead
of {{IllegalArgumentException}} there should be an error message explaining what is
wrong.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)