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

            yang.cao Yang Cao
            mariano.alvaro Mariano Álvaro
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 26 weeks, 2 days ago

              Packages

                Version Package
                7.3.10 DXP GA1
                Master