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

Failed upgrade process UpgradeDDMStructure with ClassCastException

    Details

      Description

      Steps to reproduce:

      1. Start 7.0 SP6 (Or import the attached database dump).
      2. Add a form with some fields.
      3. Add a page and add Form portlet into the page.
      4. Configure the portlet to display the created form.
      5. Upgrade database to master.

      Expected Result:
      Upgrade completes successfully.

      Actual Result:
      Upgrade UpgradeDDMStructure failed with exception:

      2020-10-27 08:48:01.417 INFO  [main][UpgradeProcess:115] Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v3_9_1.UpgradeDDMStructure in 9 ms
      2020-10-27 08:48:01.426 ERROR [main][ReleaseManagerOSGiCommands:93] bundle com.liferay.portal.upgrade.impl:5.0.0 (259)[com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands(745)] : The activate method has thrown an exception
      com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.ClassCastException: java.lang.String cannot be cast to com.liferay.dynamic.data.mapping.model.DDMFormFieldOptions
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              summer.zhang Summer Zhang
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Engineering Assignee:
              Marcos Martins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 2 days ago

                  Packages

                  Version Package
                  7.3.X
                  Master