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

Creating sites from a site template takes long

    Details

      Description

      Steps to reproduce:
      1) Create 60 blank roles
      2) Create a site template with 14 pages and about 70 portlets overall
      3) Create a new site with this template

      Observed behavior: It took ~20 seconds to create a new site on SSD and about ~30-50 on external HDD.

      Root cause:
      During portlet export permission exporter adds a record for every role in portletDataContext, even if they don't have any actionKeys, and it causes a lot of unnecessary processing at the import.

      Solution:
      Skip roles which doesn't have actionKeys during permission export.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 23 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M6