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

UpgradeDynamicDataMapping process can be rerun for unknown reasons, leading to errors

    Details

      Description

      Description
      For reasons that we haven't yet figured out, the v1_0_0.UpgradeDynamicDataMapping process will sometimes be rerun even if DynamicDataMapping has already been upgraded successfully to version 1.0.0. A number of our clients have reported this happening. We do not understand why this happens, nor have we found consistent steps to reproduce this.

      Regardless, the fact that it tries to be rerun leads to errors because the upgrade process will try to parse the DDMStructure table's definition field as xml, but it has been converted to JSON during the previous successful upgrade attempt.

      We should add some logic to the UpgradeDynamicData process to detect if the definition field is JSON, and not perform that step of the upgrade if so.

      Steps to Reproduce
      N/A as we have not been able to reproduce this consistently on our end. This issue will not be testable by QA.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 4 weeks, 4 days ago

                Packages

                Version Package