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

com.liferay.portal.upgrade.v7_3_x.UpgradeLayout doesn't create new columns in its first attempt

    Details

      Description

      Steps to Reproduce:

      1. Perform an upgrade to 7.3.x/master from a lower version

       

      Expected Results:

      No errors should appear on the log.

       

      Actual Results:

      An error like the following one occurs although the process finishes because the alter method recovers from the failure:

      2020-01-27 16:36:55.494 INFO  [main][UpgradeProcess:107] Completed upgrade process com.liferay.portal.upgrade.v7_3_x.UpgradeMVCCVersion in 277 ms
      2020-01-27 16:36:55.500 INFO  [main][UpgradeProcess:93] Upgrading com.liferay.portal.upgrade.v7_3_x.UpgradeLayout
      2020-01-27 16:36:55.506 INFO  [main][LoggingTimer:83] Starting com.liferay.portal.kernel.upgrade.UpgradeProcess#alter
      2020-01-27 16:36:56.218 INFO  [main][LoggingTimer:43] Completed com.liferay.portal.kernel.upgrade.UpgradeProcess#alter in 712 ms
      2020-01-27 16:36:56.220 INFO  [main][LoggingTimer:83] Starting com.liferay.portal.kernel.upgrade.UpgradeProcess#alter
      2020-01-27 16:36:56.222 WARN  [main][UpgradeProcess:386] Attempting to upgrade table Layout by recreating the table due to: Can't DROP 'masterLayoutPlid'; check that column/key exists
      

        Attachments

          Activity

            People

            • Assignee:
              yang.cao Yang Cao
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Marta Elicegui
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 1 day ago

                Packages

                Version Package
                Master