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

Duplicate Page Templates Results in Failed Upgrade Process for Module com.liferay.layout.page.template.service

    Details

      Description

      Description:
      When upgrading from 7.0 to 7.2, having duplicate Page Templates results in the com.liferay.layout.page.template.service module upgrade failing.

      Steps to Reproduce:
      1. Start up a clean 7.0 SP7 bundle
      2. Go to Control Panel > Sites > Page Templates > Add a new Page Template 'test'
      3. Add another Page Template with the same name, 'test' (there should now be two page templates named 'test')
      4. Shut down
      5. Upgrade to 7.2 SP1
      Expected Behavior: Upgrade completes successfully
      Actual Behavior: Upgrade fails at module com.liferay.layout.page.template.service

      Testing:
      Reproduced in 7.0.x to master upgrade
      7.0.x - ebaa0af5a06940fe75f517d2c2efe179cf9f5f42
      master - aa209c1576c97883be16b73b1e60a0be5ed6dd3c

      Note:
      In the customer's use case, they may have imported a LAR file of Page Templates using the Copy as New option, and this also results in duplicates of the default 'Content Display Page', 'Blogs', 'Wiki' page templates, leading to the same upgrade failure.

      Attachments

      LAYOUTPROTOTYPE_202005181743_AUTH2.csv

      upgrade.log

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            samuel.ziemer Sam Ziemer
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 11 weeks, 4 days ago

                Packages

                Version Package
                7.1.X
                7.2.10 DXP FP8
                7.2.10.3 DXP SP3
                7.2.X
                7.3.3 CE GA4
                7.3.10 DXP GA1
                7.4.2 CE GA3 DXP 7,4
                Master