[jboss-jira] [JBoss JIRA] (WFCORE-1680) Tab completion for echo-dmr command is broken
Jean-Francois Denise (JIRA)
issues at jboss.org
Mon Aug 1 06:09:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273342#comment-13273342 ]
Jean-Francois Denise commented on WFCORE-1680:
----------------------------------------------
This is caused by WFCORE-1627. The cursor value is now used to extract the piece of line to complete. Some completers (such as EchoDMR one) provides 0 for the cursor value although buffer.length should be passed. I suspect that some other completers are affected. I will have to check the various calls to completers.
> Tab completion for echo-dmr command is broken
> ---------------------------------------------
>
> Key: WFCORE-1680
> URL: https://issues.jboss.org/browse/WFCORE-1680
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Petr Kremensky
> Assignee: Jean-Francois Denise
>
> Tab completion for echo-dmr command doesn't work.
> To reproduce, start the standalone server and connect with CLI
> *actual 3.0.0.Alpha5-SNAPSHOT 77673c5*
> {noformat}
> [standalone at localhost:9990 /] echo-dmr /sub[TAB]
> core-service deployment deployment-overlay extension interface path socket-binding-group subsystem system-property
> [standalone at localhost:9990 /] echo-dmr /subsystem=log[TAB]
> core-service deployment deployment-overlay extension interface path socket-binding-group subsystem system-property
> {noformat}
> *expected*
> {noformat}
> [standalone at localhost:9990 /] echo-dmr /sub[TAB]
> [standalone at localhost:9990 /] echo-dmr /subsystem=
> [standalone at localhost:9990 /] echo-dmr /subsystem=log[TAB]
> [standalone at localhost:9990 /] echo-dmr /subsystem=logging
> {noformat}
> The issue is not reproducible with 2.2.0.CR7 (EAP 7.1.0.DR1).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list