Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135576

Translated predefined value for decimal numeric type is becoming integer after saving the form

    Details

      Description

       Steps to Reproduce

      1. Go to Content & Data -> Forms
      2. Add a new form
      3. Add a Numeric field and set its type to Decimal
      4. Go to the advanced tab
        • Enter the value 1.2 in the predefined value
      5. Add a translation like Portuguese (Brazil)
      6. You are now editing your non-default language.
        • Enter the value 1.3 in the predefined value
      7. Save the form
      8. Go to your non-default language.

       Actual behavior:
      The translated predefined value is no longer decimal and is equal to 13.

       Expected behavior:
      The translated predefined value remains as decimal.

        Reproduced In:
      master: fb67433d2b06034d9a01d72c9b57332f5c026c02

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              milton.castro Milton Castro
              Reporter:
              carolina.barbosa Carolina Barbosa
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Aline Cantarelli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 6 days ago

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  7.4.13 DXP GA1
                  Master