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

The Numeric predefined value is not changing from decimal to an integer at Form builder and in the Published version

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.1.X
    • Fix Version/s: None
    • Component/s: Forms
    • Labels:
    • Fix Priority:
      3
    • Sprint:
      Forms_7.3_29, Forms_7.3_30, Forms_7.3_31

      Description

      Summary:
      The Numeric predefined value is not changing from decimal to an integer at Form builder and in the Published version.

      Steps to reproduce:

      1. Go to Content > Forms;
      2. Add a Form > add a numeric field;
      3. Set the numeric field type to decimal > add a predefined value containing a dot;
      4. Change the numeric field type to an integer;
      5. Observe how the predefined value is being shown in the Form builder (not ok, it is still displayed with the dot).
      6. Publish the form and open the URL link > observe that the predefined value is quickly shown with the dot (decimal value - NOT OK) and after a while, it is refreshed to the correct value without the dot (the integer value - AS EXPECTED)
      7. On 7.1.X, the Numeric predefined value is is shown as 0 (zero) in the Published version.

      Expected result:
      The numeric predefined value should change from decimal to an integer at Form builder and in the Published version.

      Actual result:
      Master: 
      The Numeric predefined value is not changing from decimal to an integer at Form builder and in the Published version it is only after a while, it is refreshed to the correct value without the dot.

      7.1.X:
      The Numeric predefined value is not changing from decimal to an integer at Form builder and in the Published version it is shown as 0 (zero).

      Reproducible in:
      http://test-6-1-2/web/guest
      master: cba537c39989bbd17606e4de4aa6b9ab9e81b30c
      Updated on: Tue Nov 13 20:16:05 2018 -0800

      http://test-6-1-4/web/guest
      7.1.x-private: 0502c274ac83ebb92d14776f881e56f9d6c2c12e
      7.1.x: 186d66ab283049ba1efd11ecb3493e7f69e29c86
      Updated on: Tue Nov 13 20:13:16 2018 -0800
       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            alex.candido Alex Candido
            Participants of an Issue:
            Recent user:
            Jayda Wu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              13 weeks, 2 days ago

                Packages

                Version Package