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

Forms rule for numeric fields does not work if number is large enough

    Details

      Description

      The customer has found an issue where the forms rule for numeric fields does not work for a very high number. I did some investigating and it appears to break somewhere between 2100000000 - 2200000000.

      Steps to reproduce

      1. Start a clean bundle of Liferay DXP 7.1 SP2
      2. Go to Content -> Forms and create a new form
      3. Add a numeric field, then a text field
      4. Add a rule that states "If the numeric field is less than 3, show the text field"
      5. Save and publish the form
      6. Go to the form and enter in 9999999999

      Expected Results

      Text field does not show

      Actual Results

      Text field is shown

      Errors/Logs

      None

      Reproduced

       7.1.x b1f01915db477be4ec8c9718cf506da5e3139ca5

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              cleydyr.albuquerque Cleydyr Albuquerque (Inactive)
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Renato Rêgo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 38 weeks ago

                  Packages

                  Version Package
                  7.1.10 DXP FP15
                  7.1.X