Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12484

CLI autocompletion handles incorrectly spaces in front of attribute name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.CD12
    • None
    • CLI
    • None
    • Hide
      /subsystem=elytron/filesystem-realm=test:add(path=test,relative-to=jboss.server.config.dir)
      /subsystem=elytron/filesystem-realm=test:add-identity(identity=guest)
      /subsystem=elytron/filesystem-realm=test:set-password(identity=guest, otp={algorithm=otp-sha1, password=test, [TAB]
      

      as a result "e" is added/autocompleted instead of "se" (as the possible attributes are "seed" and "sequence").

      If I don't use space before pressing TAB, the "se" is added correctly.

      When 2 or more spaces is used, nothing is autocompleted and attribute names are just printed as a hint.

      Show
      /subsystem=elytron/filesystem-realm=test:add(path=test,relative-to=jboss.server.config.dir) /subsystem=elytron/filesystem-realm=test:add-identity(identity=guest) /subsystem=elytron/filesystem-realm=test:set-password(identity=guest, otp={algorithm=otp-sha1, password=test, [TAB] as a result "e" is added/autocompleted instead of "se" (as the possible attributes are "seed" and "sequence"). If I don't use space before pressing TAB, the "se" is added correctly. When 2 or more spaces is used, nothing is autocompleted and attribute names are just printed as a hint.

      CLI autocompletion behavior wrongly depends on space characters used in front of an attribute name.

      See Steps to reproduce for details.

            mstefank Martin Stefanko
            josef.cacek@gmail.com Josef Cacek (Inactive)
            Erich Duda Erich Duda (Inactive)
            Erich Duda Erich Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: