2020 Feb 26 9:46 AM - edited 2024 Feb 03 6:34 PM
When cloning a page in SmartEdit and setting up the clone as a primary page, default pages with the same label are flagged as deleted. These pages are identified via
CMSAdminPageService.getIdenticalPrimaryPageModel
However, this only works for the default hybris ContentPage. For any other page type, including types that extend from ContentPage, all active pages with the defaultPage flag count as identical primary pages, and the first randomly selected result is then flagged as deleted.
1) All pages extending from ContentPage but having a different label can be flagged as deleted. This seems like a bug to me.
2) Does this mechanism really make sense for all non-ContentPage types?
And how can this behaviour be prevented?
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.