-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP64, 7.0.X, 7.1.10 DXP FP5, 7.1.10.1 SP1, 7.1.2 CE GA3, 7.1.X, Master
-
Component/s: ~[Archived] WCM
-
Branch Version/s:7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Page template propagation is triggered even on getLayout() calls. Since propagation adds layoutPrototypeLinkEnabled and layoutPrototypeUuid attributes to the ServiceContext, every following Layout action will read and use them as a template, even when it's not needed.
There are multiple errors caused by this behavior, this is one of them:
Steps to reproduce:
- Start the latest master
- Create a new Site
- Activate Local Staging with Page Versioning enabled on Public Pages
- Create a new Test Collection, and a new Page Template in it
(Change the layout type of the template before you save it) - Create a new Public Page using the Page Template
- Go to that page's configuration
- Turn off 'Inherit changes', save
Expected behavior: Propagation is switched off
Actual behavior: Propagation is still turned on, not able to disable it
master @ commit (730b7d8715e539754085b808a0c56e3cd156e672) reproduced