Conversion from String to Locale.ROOT is not working

Description

The improvement has introduced a regression in LocaleTypeDescriptor.

The Locale.ROOT is stored as an empty String in the database (see LocaleTypeDescriptor#toString) but the current behavior of the LocaleTypeDescriptor#fromString is to return a null Locale if the input String is empty.

Environment

None

Activity

Show:
Vlad Mihalcea
February 13, 2017, 3:15 PM

Applied PR upstream.

Assignee

Unassigned

Reporter

Benoît Lateltin

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Worked in

4.1.0

Components

Affects versions

Priority

Major
Configure