Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-101810

Minor usability issues with the database upgrade tool

    Details

      Description

      This ticket will solve 4 minor issues with the upgrade client:

      • Do not print the gogo shell command twice after its execution in the console.
      • Print the Gogo console prefix (g!) in the upgrade.log file.
      • If an empty command ("") is sent in the console, don't print anything.
      • Print in the upgrade.log when the user closed the Gogo shell.

      Steps to reproduce it:

      1. Startup master
      2. Shutdown
      3. Execute the upgrade client with the previous database:
        ./db_upgrade.sh -s

      When the gogo console is opened, execute the following tests:

      1. Execute the command "upgrade:check"
      2. Click on enter to execute an empty command
      3. Execute the command "exit"

      Results:
      For:

      1. The command is printed after its execution (printed twice)
      2. A white line is printed
      3. If you open the upgrade.log in the folder logs, you can't see the prefix g! for previous valid commands (upgrade:check and exit)

      Expected results:
      For:

      1. The command is not printed (you just see it once)
      2. No white line is printed
      3. If you open the upgrade.log in the folder logs, you can't see the prefix g! for previous valid commands (upgrade:check and exit). For example:
        g! upgrade:check

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  10 weeks, 5 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  7.2.1 CE GA2
                  Master