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

Upgrade to 7.0(master): DDMTemplates created previously are not visible after upgrading

    Details

      Description

      Steps to reproduce it:

      1. Startup 6.2 or prior version of Liferay
      2. Create a template for web contents
      3. Shutdown the portal
      4. Upgrade to master (7.0)
      5. Go to Control Panel/Web Content/Templates

      Result: the template created is not shown.

      If you also associated that template to a web content prior to the upgrade and you try to edit that web content after upgrading the portal, you will notice that the template field is empty.

      Technincal notes:
      The issue LPS-52545 added a new field for DDMTemplates resourceClassNameId, but it's not filled properly during the upgrade so the value for old templates is null. After that the template searches includes that field with the proper value so it doesn't find old templates since the values don't match.

      It's neccesary to perform an upgrade which fills those fields properly.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 Alpha 1