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

Negative numbers do not correctly appear in Forms

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.1.X, 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Forms
    • Labels:
      None

      Description

      Steps to Reproduce:
      1. Go to Content & Data > Forms
      2. Add New Form > Drag/Drag Numeric Field titled: Num1
      3. Go under Rules tab > Add New Rule
      4. Use the following:
      If Field Num1 is empty, Calculate 3-100 into Num1
      5. Save > Publish Form
      6. Preview Form
      7. Click on Form field

      Expected Results:
      To see a negative result of -97

      Actual Results:
      Master/7.2.x: By clicking in the field, the number now becomes a negative result of -97

      7.1.x: Hitting the refresh button, the negative results appears for a short time

      Environment:
      Tomcat 9.0.17 + MySQL 5.7 + Portal Master GIT ID:
      662f1c5177ebd10a50e5d2adfcae3ead9ff1445b
      Tomcat 9.0.17 + MySQL 5.7 + Portal 7.2.x GIT ID:
      bb52b4c8d9a86264334268b98f16ee8a5bfe4de4
      Tomcat 9.0.17 + MySQL 5.7 + Portal 7.1.x GIT ID:
      259356b82d4d97769531e9eddbbe45624ee43ebb

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package