[jboss-jira] [JBoss JIRA] (WFCORE-1723) OperationRequestCompleter ignores CommandArgument#canAppearNext in choosing ValueCompleter when there's more then one indexed arguments

Jean-Francois Denise (JIRA) issues at jboss.org
Mon Jun 4 07:54:00 EDT 2018


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

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

[~spyrkob], that seems fine. You could set WFCORE-1840 to DONE I guess.

> OperationRequestCompleter ignores CommandArgument#canAppearNext in choosing ValueCompleter when there's more then one indexed arguments
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1723
>                 URL: https://issues.jboss.org/browse/WFCORE-1723
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0.Alpha5
>            Reporter: Bartosz Spyrko-Śmietanko
>            Assignee: Bartosz Spyrko-Śmietanko
>
> If there are two or more indexed CommandArguments that can be used to complete user entry at the same index, the first one will always be chosen - even if it clashes with previous arguments.
> For example:
> {{patch rollback ..<TAB>}}
> produces a list of directories - this is because PatchHandler registers multiple CommandArguments with index 1 and in this case a completer for patch apply is the first one matched.



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



More information about the jboss-jira mailing list