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

Site Template propagation fails after deleting a child page with parent from site template

    Details

      Description

      Reproduction steps:

      1) Create a site template “NestedPages”. By default this template contains a page “home”.
      2) Add a page “Parent” in “NestedPages”.
      3) Add a child page “Child” to page “Parent”.
      4) Create a new site “NestedPages001” based on template “NestedPages”. Verify that "Enable propagation of changes from the site template NestedPages." is enabled.
      5) In site template “NestedPages”, remove page “Parent”. As a result, both page “Parent” and page “Child” will be deleted.
      6) Go to site “NestedPages001”

      Current behavior:

      Several exceptions occur in server log such as:

      ERROR [http-nio-8080-exec-7][SitesImpl:1403] Merge fail count increased to 4 for layout set prototype 31932 and layout set 31964
       com.liferay.portal.kernel.exception.SystemException: java.lang.NullPointerException

      Propagation of changes stop operating from site template and a "reset-and-propagate" button appear in Site settings of “NestedPages001”. 

      Expectation:
      After removing a page + child page from the site template, the propagation shall be executed accordingly: the removed pages should be removed on the connected site as well - such as any other change (without error).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kyle.miho Kyle Miho
                Reporter:
                vendel.toreki Vendel Töreki
                Participants of an Issue:
                Recent user:
                Joyce Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP83
                  7.0.X
                  7.1.10 DXP FP12
                  7.1.X
                  Master