Details
-
Bug
-
Resolution: Won't Fix
-
Neutral
-
None
-
3.1
-
Magnolia 6.1
Description
Hi Magnolia Team,
just to let you know - we have an issue with Live Copy 3.1 and the masterLocale.
For our client we have defined "en" as default masterLocale.
As of Live Copy 3.1 this will cause an StringIndexOutOfBoundsException in line 60 of LiveCopyMultiSiteI18nAuthoringSupport where the country code is received by substring masterLocaleString.substring(3, 5).
Updating the fallback to en_INT (for international) or en_GB will cause a lot of redactional work. Our solution would be to implement a custom authoring support class to handle also language codes without the country suffix:
Locale masterLocale = LocaleUtils.toLocale(masterLocaleString);
Maybe this is also a valid scenario for other clients which want to use Live Copy.
Thanks and best
Jürgen
Checklists
Attachments
Issue Links
- mentioned in
-
Page Loading...