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

Bartosz Spyrko-Śmietanko (JIRA) issues at jboss.org
Mon Jun 4 07:02:00 EDT 2018


     [ https://issues.jboss.org/browse/WFCORE-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bartosz Spyrko-Śmietanko resolved WFCORE-1723.
----------------------------------------------
    Resolution: Out of Date


Thanks [~jfdenise]. Is "Out of Date" correct resolution for this case?

> 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