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

An application adapter hook prevents new site templates from being added to an existing or child site

    Details

      Description

      Steps to reproduce/Testing done

      1. Start Liferay and login as admin
      2. Deploy an application adapter hook, like the sample one found on Liferay's github repository: https://github.com/liferay/liferay-plugins/tree/master/hooks/sample-application-adapter-hook
      3. Go to Admin > Control Panel > Sites > Site Templates > Add
      4. Add a new site template and ensure that the Application Adapter pull-down menu is set to None
      5. Go to Admin > Control Panel > Sites > Sites
      6. Choose the Liferay default site > Actions > Add Child Site
      7. Add a new child site and attempt to select the site template created in step 4 to either the public or private pages
      8. Alternatively, go to an existing site's Site Settings and attempt to add the site template created in step 4 to either the public or private pages

      This issue affects 6.2.x and below only. It was fixed inadvertently in Master in LPS-50459. The fix for 6.2.x will take only the necessary piece of LPS-50459 in order for this to work properly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              felix.zhang Felix Zhang
              Reporter:
              jonathan.mccann Jonathan McCann
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 2 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE