Details
-
Bug
-
Resolution: Fixed
-
High
-
4.4.0, 4.3.3
-
[4.5] - Sprint 1
-
Ibexa Content
Description
With BO language set to one with a comma as the default decimal separator(e.g. polish or german), float attribute fields emptied on edit when editing product variants.
Steps to reproduce
1. Clean installation of Ibexa DXP Commerce v4.3 or v4.4
2. Create a new Attribute Group: "Test Attributes"
3. In "Test Attributes" create float Attribute "Test Attribute"
4. Create a Product Type "Test Product Type" with default values, but use the "Test Attributes" group. Check "Used for product variants" for Test Attribute.
5. Create a "Test Product" Product of "Test Product Type".
6. Create a variant for "Test Product" with Test Attribute containing a decimal value(e.g. 100.95).
7. Edit the newly created variant.
Expected result
The attribute field has no empty value.
Result
The attribute field is empty.
Note
When the BO language is EN there is no functional issue but the decimal separator is inconsistent. On preview, there is a dot, when editing there is a comma.