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

portal-upgrade-impl is using System.out for Gogo commands

    Details

      Description

      When the portal is starting the upgrade command, which is executed as part of the the module's startup checks prints to STDOUT, which is unwanted.

      This is because it's using System.out as it's means of sending output to the gogo shell.

      However this is not the most ideal way to handle command outputs.

      It's far better to have the command method return a String, a java.util.Formattable, or just any Object that has a useful `toString()`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                raymond.auge Raymond Auge
                Participants of an Issue:
                Recent user:
                Michael Saechang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 3 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master