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

Forms numeric field allows large number inputs that will break the functionality

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Add a new form
      2. Add a Numeric field (num1)
      3. Configure to "Integer" type
      4. Publish Form
      5. Go to Publication URL
      6. Input into num1 field
        111111111111111111111
      7. View result

      Expected Result:
      User cannot input a large enough numbers that will break the functionality. Field will display the entered number by the user. The field only accepts whole number (int) as the value.

      Numeric field should display a message when the maximum number is type and the mask should not allow bigger numbers than the maximum limit.

      Actual Result:
      User can input a very large number. Field will display a Decimal number that was not entered.

      Reproduced on:
      Master: 8188228a9af41d3a59231b4060988abaa3b4867f 
      DDM Subrepo: 4544e3e15af6060c86ad80f5842f969fa8a7006f

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 15 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.0 Beta 1
                  Master