Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-425

Tab completion in CLI doesn't work properly for resources with slashes in names

    Details

      Description

      Assume these two JavaMail session resources are defined:

      java:/myMail
      java:jboss/mail/Default
      

      Let's try to put in the address of java:/myMail using CLI with tab completion:

      First, type in this string:

      /subsystem=mail/mail-session=java\:
      

      If you press tab now, there are two options for completion, therefore it will not complete the statement, only show the two possible names.

      If you continue typing and add "\/" (an escaped slash character), the interpretation by the CLI will be that you have already finished the name of the resource and tab-completion will put in "server=", because "server" is the next level in hierarchy. This interpretation is wrong.

      CLI should not interpret an escaped slash character as the ending of resource name, if this character is the last character written in the command line .. when you add more characters after it, it will work

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                aloubyansky Oleksiy Lubyanskyy
                Reporter:
                jmartisk Jan Martiska
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: