Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Alpha1
    • Component/s: CLI
    • Labels:
      None

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jdenise Jean Francois Denise
                Reporter:
                jdenise Jean Francois Denise
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: