-
Bug
-
Resolution: Obsolete
-
Critical
-
None
-
5.5
If a site is copied and gets a different i18n settings then the wrong language version is displayed on content edit.
Problem reproduction:
- Context Travel-Demo
- Duplicate the travel site in pages app
- Duplicate the travel site definition, adopt /travel/mappings/website@handlePrefix to travel0
- Change /travel0/i18n@fallbackLocale to de
- Edit /travel0/about
Result
The page itself is rendered in german. If a component is edited then english content is displayed. If the language is changed to eng then no content is displayed at all.
How to fix this:
BasicTransformer.deriveLocaleAwareName decides which locale should be used. This can't be overwritten.
To solve this simply move the logic into i18NAuthoringSupport.deriveLocalisedPropertyName
Acceptance criteria