Branch: refs/heads/stable-15.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 05e2d085a27acace4aa24d3897165362d7215ce4
https://github.com/xwiki/xwiki-platform/commit/05e2d085a27acace4aa24d389716…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-script/src/main/java/org/xwiki/localization/script/LocalizationScriptService.java
M
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-script/src/test/java/org/xwiki/localization/script/LocalizationScriptServiceTest.java
M
xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/main/java/org/xwiki/model/reference/DocumentReference.java
M
xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/test/java/org/xwiki/model/reference/DocumentReferenceTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/XWikiTest.java
Log Message:
-----------
XWIKI-20651: Pt_br (Pt_br) and Zh_tw (Zh_Tw) languages displayed in drop-downs which
cause many "Invalid locale" warnings if selected
* Fix LocalizationScriptService#getAvailableLocales to not use
Locale(String) constructor but to rely instead on
LocaleUtils.toLocale
* Fix the same mistake in other parts of XWiki
(cherry picked from commit 42edb78c3e5e63a34fe1c5da0923d35abee4b40a)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications