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

Layout 'typeSettings' are lost when configure a page with type different than 'portlet'

    Details

      Description

      After configure a Page with different type than 'portlet', some 'typeSettings' are lost. Main observed 'typeSettings' lost are: 'layout-template-id' or 'last-merge-time'.

      This lost causes, for example, that pages from a site template override 'typeSettings' pages of a site based on that site template.

      Steps to reproduce in master/7.0.x:

      1. Start a portal and login with administrator user.
      2. Create a Site Template with 2 pages:
        • One with type 'Empty Template'.
        • One with type 'Page Set'.
      3. Create a Site based on new Site Template created in step 2.
      4. Change both pages configuration in Site created in step 3.
        • Change 'Hide from Navigation Menu' to 'yes' for 'Empty Template' page.
        • Change 'Hide from Navigation Menu' to 'yes' for 'Page Set' page.
      5. Come back to Site Template created in step 2 and make a change (e.g. create a new page).
      6. Come back to Site created in step 3 and check pages configuration.

      Expected result:
      'Hide from Navigation Menu' Setting is 'yes' for 'Empty Template' page.
      'Hide from Navigation Menu' Setting is 'yes' for 'Page Set' page.

      Actual result:
      'Hide from Navigation Menu' Setting is 'yes' for 'Empty Template' page.
      'Hide from Navigation Menu' Setting is 'no' for 'Page Set' page. This is because 'typeSettings' are lost when we configure this page in step 3, and Site Template override this configuration.

       

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            josemaria.munoz José María Muñoz
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 35 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP41
                7.0.6 CE GA7
                7.0.0 DXP SP8
                7.0.X
                7.1.0 M1
                7.1.X
                Master