[jboss-jira] [JBoss JIRA] (WFCORE-3564) Bad CLI complementation server groups

Jean-Francois Denise (JIRA) issues at jboss.org
Tue Jan 30 08:47:00 EST 2018


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

Jean-Francois Denise commented on WFCORE-3564:
----------------------------------------------

[~vmarek], thank-you for reporting the issue, if you plan to add a unit test to cover the problem,  we have a CliCompletionTestCase class in testsuite/domain that is perfect to deal with this kind of issues. You could add a new test in it.
Thanks.

> Bad CLI complementation server groups
> -------------------------------------
>
>                 Key: WFCORE-3564
>                 URL: https://issues.jboss.org/browse/WFCORE-3564
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Vratislav Marek
>            Assignee: Jean-Francois Denise
>
> *Cli complementation insert the whole word without delete writed letters*
> * --server-groups={color:#d04437}m{color}main-server-group
> * --server-groups={color:#d04437}o{color}other-server-group
> * --server-groups={color:#d04437}othe{color}other-server-group
> {noformat}
> [domain at localhost:9990 /] deployment disable * --server-groups=
> main-server-group  other-server-group  
> [domain at localhost:9990 /] deployment disable * --server-groups=mmain-server-group 
> {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0216: Management resource '[(\"server-group\" => \"mmain-server-group\")]' not found"}}
> [domain at localhost:9990 /] deployment disable * --server-groups=oother-server-group
> {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0216: Management resource '[(\"server-group\" => \"oother-server-group\")]' not found"}}
> [domain at localhost:9990 /]
> [domain at localhost:9990 /] deployment disable * --server-groups=otheother-server-group 
> {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0216: Management resource '[(\"server-group\" => \"otheother-server-group\")]' not found"}}
> [domain at localhost:9990 /]
> {noformat}



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


More information about the jboss-jira mailing list