[jboss-jira] [JBoss JIRA] (WFCORE-1516) CLI, some completion issues
Jean-Francois Denise (JIRA)
issues at jboss.org
Fri Apr 29 11:03:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Francois Denise updated WFCORE-1516:
-----------------------------------------
Description:
4 issues with command arguments completion:
1) " " and "=false" shouldn't be proposed for argument without values (that is a regression introduced by the support of implicit true value).
2) arguments without values used to stop completion to operate. For example ls --resolve-expressions should complete to the argument separator " " if no more arguments can be added.
3) "=" character is not appended to argument that has a value (that is a regression introduced by the support of implicit true value).
4) Exception in read-attribute completing the node
read-attribute --node
org.jboss.as.cli.CommandFormatException: Couldn't locate ' --node=' in the line: 'read-attribute --node'
at org.jboss.as.cli.handlers.ReadAttributeHandler.getAddress(ReadAttributeHandler.java:325)
at org.jboss.as.cli.handlers.ReadAttributeHandler$2.canAppearNext(ReadAttributeHandler.java:114)
at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:257)
at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73)
at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126)
at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:141)
at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:150)
at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:420)
at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:165)
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:735)
at org.jboss.aesh.console.Console.execute(Console.java:718)
at org.jboss.aesh.console.Console.access$900(Console.java:73)
at org.jboss.aesh.console.Console$6.run(Console.java:627)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
was:
3 issues with command arguments completion:
1) " " and "=false" shouldn't be proposed for argument without values (that is a regression introduced by the support of implicit true value).
2) arguments without values used to stop completion to operate. For example ls --resolve-expressions should complete to the argument separator " " if no more arguments can be added.
3) "=" character is not appended to argument that has a value (that is a regression introduced by the support of implicit true value).
> CLI, some completion issues
> ---------------------------
>
> Key: WFCORE-1516
> URL: https://issues.jboss.org/browse/WFCORE-1516
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Jean-Francois Denise
> Assignee: Jean-Francois Denise
>
> 4 issues with command arguments completion:
> 1) " " and "=false" shouldn't be proposed for argument without values (that is a regression introduced by the support of implicit true value).
> 2) arguments without values used to stop completion to operate. For example ls --resolve-expressions should complete to the argument separator " " if no more arguments can be added.
> 3) "=" character is not appended to argument that has a value (that is a regression introduced by the support of implicit true value).
> 4) Exception in read-attribute completing the node
> read-attribute --node
> org.jboss.as.cli.CommandFormatException: Couldn't locate ' --node=' in the line: 'read-attribute --node'
> at org.jboss.as.cli.handlers.ReadAttributeHandler.getAddress(ReadAttributeHandler.java:325)
> at org.jboss.as.cli.handlers.ReadAttributeHandler$2.canAppearNext(ReadAttributeHandler.java:114)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:257)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73)
> at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126)
> at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
> at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:141)
> at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:150)
> at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:420)
> at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:165)
> at org.jboss.aesh.console.Console.processInternalOperation(Console.java:735)
> at org.jboss.aesh.console.Console.execute(Console.java:718)
> at org.jboss.aesh.console.Console.access$900(Console.java:73)
> at org.jboss.aesh.console.Console$6.run(Console.java:627)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list