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

Segments are not copied nor propagated from site template to site, which makes site templates non functional

    Details

    • Fix Priority:
      4

      Description

      • Create a site template stpl
      • Remove the home page from the site template
      • Add a new user segment to it, based on some arbitrary rule. Save
      • Create a site "site1fromtpl" using stpl as template

       Checkpoint: "site1fromtpl" does not contain the segments

      This makes page propagation not work:

      • Add a standard (aka content) page to the site template, with one fragment of type text
      • Add a new experience to the page based off on the new segment
      • Personalize the page for both experiences
      • Create a site "site2fromtpl" using stpl as template

       Observed: errors are thrown in log (see attachment for stacktrace when merging layouts), no page is copied to the site. This also happens with widget pages
       Expected: semgents are copied to the site so that all personalization set in the template works in the site, or, user segments are forbidden for site templates.

      Tested in master at 6d30aff6c2aebac750c630c0675d00eed025ca97

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  25 weeks ago

                  Packages

                  Version Package
                  Master