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

Javascript added to layout set is not propagated from Site Template to User pages

    Details

    • Fix Priority:
      3

      Description

      1) Verify that Site Templates => Intranet Site, "Allow Site Administrators to Modify the Pages Associated with This Site Template" checkbox is checked
      2) Create User Group => Test UG
      3) Add Joe Bloggs to Test UG
      4) Assign Intranet Site site template to public pages of Test UG, make sure "Enable propagation of changes from the site template." checkbox is checked
      5) View public pages of Intranet Site site template => Verify the pages
      6) View public pages on the Test UG => Verify Intranet Site pages are present
      7) View public pages of Joe Bloggs => Verify Intranet Site pages are present
      8) Add the following Javascript to the Intranet Site site template pages (not to a specific page, but "Pages" in general): alert("alert!");
      9) View public pages of Intranet Site site template => Verify that alert pops up
      10) View public pages of Test UG user group => Verify that alert pops up
      11) View public pages of Joe Bloggs => Alert should pop up also, but it doesn't

      If we add the Javascript code to a specific page of the site template, it propagates correctly to the user's public pages. The issue only affects the layout sets.

        Attachments

          Activity

            People

            • Assignee:
              gergely.mathe Gergely Mathe (Inactive)
              Reporter:
              gergely.mathe Gergely Mathe (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 20 weeks, 4 days ago

                Packages

                Version Package
                6.1.20 EE GA2
                6.1.X EE
                6.2.X EE
                7.0.0 M3