[MGNLUI-623] AbstractFieldBuilderTest conversion failing with system locale Created: 04/Feb/13  Updated: 11/Feb/13  Resolved: 04/Feb/13

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

Type: Bug Priority: Major
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

AbstractFieldBuilderTest#propertyType_Double is failing on my french system, because vaadin converter gets locale from the session (which is currently set to null); if null it falls back on system locale to determine the pattern for e.g. decimals.

test value of 21.98 cannot be parsed to expected double value with french locale (expects a comma ',' as decimal separator).


Generated at Mon Feb 12 08:38:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.