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

History browsing in CLI (using the up arrow) works strangely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.0.0.ER2 (Beta)
    • 7.0.0.DR10, 7.0.0.DR11
    • CLI
    • None
    • Regression

    Description

      I tend to rely on history browsing in the CLI a lot, but it got broken in EAP 7.0.0.DR10 (I'd guess that the cause is the AESH upgrade). Let's see:

      rm ~/.jboss-cli-history # let's start with clean slate
      ./jboss-eap-7.0/bin/standalone.sh
      # the following is in second console
      ./jboss-eap-7.0/bin/jboss-cli.sh -c
      :read-resource
      :whoami
      [up arrow shows :whoami, so press Enter to run it]
      [and repeat, up arrow shows :whoami]
      

      OK, that's expected. Repeat the process with EAP 7.0.0.DR10 and you'll find out that the second [up arrow] shows :read-resource. This is IMHO highly wrong and it confused me a lot when I first encoutered this bad behavior.

      Attachments

        Issue Links

          Activity

            People

              olubyans@redhat.com Alexey Loubyansky
              lthon@redhat.com Ladislav Thon
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: