[jboss-jira] [JBoss JIRA] (WFCORE-1199) CLI Lists in non-interactive mode are erroneously split into multiple commands

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Jan 17 08:16:01 EST 2017


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

RH Bugzilla Integration commented on WFCORE-1199:
-------------------------------------------------

Petr Penicka <ppenicka at redhat.com> changed the Status of [bug 1284885|https://bugzilla.redhat.com/show_bug.cgi?id=1284885] from VERIFIED to CLOSED

> CLI Lists in non-interactive mode are erroneously split into multiple commands
> ------------------------------------------------------------------------------
>
>                 Key: WFCORE-1199
>                 URL: https://issues.jboss.org/browse/WFCORE-1199
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Modules, Patching 
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>             Fix For: 2.0.8.Final
>
>
> The problem arises because commands entered in non-interactive mode are split by the "," character.  Therefore, in the case of:
>  "./bin/jboss-cli.sh -c --controller=localhost --commands="module add --name=test --resources=test.jar --dependencies=dep1,dep2"
> the cli is incorrectly splitting the request into two distinct commands:
> 1. module add --name=test --resources=test.jar --dependencies=dep1
> 2. dep2
> The reason this behaviour is not observed in interactive mode is because multiple commands can not be specified.  However, in non-interactive mode --commands=ls,pwd is valid and should result in the execution of ls followed by pwd.  
> This problem is not restricted to the module command, as it affects all commands entered in non-interactive mode that require a comma-separated list as an argument.  So far this appears to be PatchHanlder.java, ASModuleHandler.java and DeploymentOverlayHandler.java.  



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list