-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2, --Sprint 11/12
-
Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M6
-
Labels:
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Story Points:9
-
Git Pull Request:
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.