We have noticed an issue when a new Region has been added to the PT. I will try to describe the steps:
- Created Regions Schemas A, B, C
- Created Page schema with given Regions A, B, C
- Created Page Template with given Page Schema
- Created 10 Pages based on that PT
- Published and working
- After some time, it was decided to add a new Region D to that PT, so
- new Region Schema D is created
- existing Page Schema is updated in order to add a new Region
- Go to any Page based on PT and open, however, there is no Component Presentations previously added to regions A, B, C.
- Checked in CM DB and page json in db has still all CPs with information to which region it belongs it.
What is causing this issue?
It is not expected behavior if every PT update with add/remove regions will cause losing previously added CPs.
It is DXA 2.2 and SDL Web 9.0