Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
15.10.10
-
None
-
Unknown
-
Description
We should never rely on the Locale(String) constructor since we always want to be able to deal with country code and this constructor is only for language code. So we should have a way to detect those calls and discard them.
Instead we should use LocaleUtils#toLocale.
See also XWIKI-20651