enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

Flatten page structure - Customized to false while having components #6830

Closed GlennRicaud closed 5 years ago

GlennRicaud commented 5 years ago

Linked to https://github.com/enonic/xp/issues/6820 A lot of old content have customized to false while having a template reference and components. This makes no sense, and again seems to have been part of a bad refactoring happening in a previous version. I also do not see the need of this boolean since if I understand this correctly: If you have a descriptor/controller, you are customized.

I will add an additional upgrade after the work done in https://github.com/enonic/xp/issues/6820 to set customized to true if there is a descriptor key on the page.

GlennRicaud commented 5 years ago

This is why you get the "Customize page" when modifying Superhero app.

GlennRicaud commented 5 years ago

This is the current algo for Page Data migration.