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

Page Templates for other sites are removed when remove a Page Template

Details

    Description

      After exporting and importing a page template in different sites, LayoutPrototype seems to be the same, so, when you remove the Page Template imported, rest of Page Templates with same LayoutPrototype are removed too.

      Steps to reproduce (master and 7.1.x):

      1. Create a new Widget Page Template: Go to Site Menu > Site Builder > Pages > Page Template (tab):
        • New Collection
        • New Widget Page Template
      2. Export created Page Template: Go to Site Menu > Publishing > Export
        • New Export
        • Unselect all (pages, content, permissions) except: Pages (2 Items) with Page Template Collections (1), Page Templates (1).
        • Download Export file.
      3. Create a new site.
      4. Import the downloaded file: Go to Site Menu > Publishing > Import
      5. Remove Page Template imported: Go to Site Menu > Site Builder > Pages > Page Template
      6. Go to check Page Template exported to the other site.

      Expected behavior:
      Exported Page Template is still in other site and just Page Template removed was removed.

      Current behavior:
      Exported Page Template was removed too.

      Attachments

        Issue Links

          Activity

            People

              brooke.dalton Brooke Dalton
              josemaria.munoz José María Muñoz
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 46 weeks ago

                Packages

                  Version Package
                  7.1.10 DXP FP13
                  7.1.X
                  7.2.10 DXP FP1
                  7.2.1 CE GA2
                  7.2.X
                  7.3.10 DXP GA1
                  Master