Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5110

Product variant, attribute field(float) empty when editing

    XMLWordPrintable

Details

    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.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              pawel.pawlik@ibexa.co Paweł Pawlik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: