enonic / app-contentstudio

Content Studio of Enonic XP
GNU General Public License v3.0
10 stars 4 forks source link

Incorrect language of a local child item created under inherited non-localised parent #2681

Closed alansemenov closed 3 years ago

alansemenov commented 3 years ago

When a new child content is created under existing content, we set language of the parent on this child content. This behaviour should be different when a child content is created under inherited non-localised content. In this case we should set language of the current layer on the child content.

ashklianko commented 3 years ago

To be done in https://github.com/enonic/xp/issues/8576 We would possibly need to adjust CreateContentRequest.ts to let language param be set explicitly (though we don't need it now), but if it is not required then can close this task