AEMaaCS Editable Template: Component order differs after locking/unlocking Layout Container, existing pages show Breadcrumb below Footer
Hi Team,
I’m facing an issue with an AEM as a Cloud Service editable template.
The template contains:
Header XF
Breadcrumb
Layout Container
Footer XF
All components are intended to remain editable.
The template initially had a different ordering between Structure and Initial Content. After reordering the components and changing the lock/unlock state of the Layout Container, the Template Editor now shows the expected order:
Header XF
Breadcrumb
Layout Container
Footer XF
However, some existing pages created from the template still display:
Header XF
Layout Container
Footer XF
Breadcrumb
Interestingly, the existing page can show the correct JCR child-node order in CRX/DE, while the Page Editor still displays Breadcrumb below the Footer.
Has anyone encountered similar behavior with editable templates, Structure vs Initial Content, Layout Containers, or Allowed Components?
Could locking/unlocking a Layout Container or changes to its allowed components cause existing pages to retain an older component/container relationship?
I’m mainly looking for the root cause and recommended way to correct existing pages, rather than manually recreating the components.
PS: Filter.xml looks clean.
Thanks!