-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
-
Fix Version/s: 7.0.0 DXP FP97, 7.0.X, 7.1.10 DXP FP21, 7.1.X, 7.2.10 DXP FP10, 7.2.X, 7.3.X, Master
-
Component/s: Site Templates
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
Reproduction steps:
- Start up the portal
- Set the following log levels:
com.liferay.portlet.sites.util DEBUG
com.liferay.exportimport.internal.controller INFO
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler WARN - Create a site template
- Create a site from this template
- Add a new page to the site
- Add a new page with the same name and friendly URL to the template
- Refresh the site
Expected result: After one attempt, the site template propagation stops, and only restarts when the URL of the conflicting layout is actually changed.
Actual result: The site template propagation is started for every getLayout() call, even multiple times for one page load. This is visible from the many "Acquired lock..", "Applying layout set prototype...", "Released lock..." messages from the log. Also, the page load time is significantly longer than usual.
Notes:
There's a warning message visible in Configuration > Site Settings, on the Pages tab:
Some pages from the site template cannot be propagated because their friendly URLs conflict with the following pages. Modify the friendly URL of the pages to allow their propagation from the site template.
- is related to
-
LPS-121138 As a Site Template Administrator, I want to have the site template propagation run parallel to multiple sites
-
- Closed
-