[MGNLUI-6272] Convert strings to locales in LocaleSelectFieldSupport Created: 06/Oct/20  Updated: 09/Feb/22  Resolved: 26/Nov/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Julian Nodarse Assignee: Quach Hao Thien
Resolution: Duplicate Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: 7.5h
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-7897 Provide Compatibility And Documentati... Closed
is cloned by MGNLDEMO-348 Changing Java 7 Locale Names To Java ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Java8 locales
Sprint: UI Maintenance 2
Story Points: 5

 Description   

Steps to reproduce

  1. Given a stored property foo=en_GB (e.g. from the old UI framework, bootstrap file)
  2. Try to load this property with new framework
    1. Use a select field with the datasource named available-locales
    2. TODO add example config for convenience

Expected results

The value is loaded into the field.

Actual results

TODO

Workaround

Migrate the data (e.g. en_GB to en-GB).

Development notes



 Comments   
Comment by Roman Kovařík [ 26/Nov/21 ]

Indeed a clone, the real issue in core was documented and this issue is only theoretical and should nat happen when following the docu.

Generated at Mon Feb 12 09:34:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.