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

NPE when Site Template with a removed page is propagated to a Site

Details

    Description

      After remove a page from a Site Template and try to propagate this change to a Site, which belongs to this Site Template, a NullPointerException is showed in log file.

      Steps to reproduce:

      1. Create a Site Template with 2 pages.
      2. Create a Site based on Site Template created in step 1.
      3. Go to Site created in step 2 and check that those 2 pages are propagated ok.
      4. Go to Control Panel > Configuration > Server Administration > (tab) Log Levels and Add Category com.liferay.portlet.sites.util.SitesImpl to DEBUG level
      5. Go to Site Template and remove one page.
      6. Go to Site in order to propagate this change.

      Current behavior
      Change is propagated but NPE is showed in log file.

      Expected behavior
      Change is propagated and NPE should not be showed in log file.

       

      Attachments

        Activity

          People

            raven.song Raven Song
            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:
              4 years, 9 weeks, 2 days ago

              Packages

                Version Package
                7.0.0 DXP FP60
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master