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

Bad format for multilenguage DDL decimal field

    Details

      Description

      Decimal fields, in Dynamic Data List Display widget, are showed like '0' (zero) when is filled with a value like 3,2 using Spanish language. Value is well updated into Data Base but It is not well showed.

      Steps to reproduce:

      1. Start a portal.
      2. Go to Site Menu > Content > Dynamic Data List and create a Data Definition by kebab menu (option Manage Data Definitions).
        • Add a Data Definition by clicking add button ('+').
        • Add a name and a decimal field.
        • Add translation to Spanish (Spain) and save the Data Definition.
      3. Go again to Site Menu > Content > Dynamic Data List and create a Dynamic Data List
        • Add a name and select Data Definition cerated in step 2.
      4. Go to Home page in portal, add a Dynamic Data List Display widget and select Dynamic Data List created in step 3.
      5. Go to Home page again and add a new Dynamic Data List record by clicking add button.
        • Add value 3,2 to the decimal field in Spanish translation.
        • Publish this form.

      Current behavior
      Value 3,2 is validated like a correct value (you can publish the form) but value '0' (zero) is showed in Dynamic Data List Display widget when Spanish language is selected in the portal (for instance: http://localhost:8080/es/web/guest/home).

      Expected behavior
      Value 3,2 is validated like a correct value (you can publish the form) and value '3,2' is showed in Dynamic Data List Display widget when Spanish language is selected in the portal (for instance: http://localhost:8080/es/web/guest/home).

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 1 week ago

                Packages

                Version Package
                7.0.0 DXP FP64
                7.0.X
                7.1.10 DXP FP5
                7.1.10.1 SP1
                7.1.2 CE GA3
                7.1.X
                Master