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

Numeric field is not displaying expected result using Calculate Action

    Details

      Description

      Steps to Reproduce:

      1. Create a Form and title it "Form 1".
      2. Add a Numeric field to the form.
      3. Change the Label to Numeric 1.
      4. Add another Numeric field to the form. 
      5. Change the Label to Numeric 2. 
      6. Navigate to the "Rules" tab.
      7. Add a new Rule
        • Condition:
          • If "Numeric 1" "Is not empty"
        • Actions
          • Do "Calculate" Choose a Field to Show the Result "Numeric 2"
            • Using the Calculator, input "Numeric 1 * 2"
              • To add "Numeric 1" to the calculation, click on "Add Field"
        • Click Save when finished.
      8. Navigate to the "Forms" tab.
      9. Save and Publish the form.
      10.  Open the published form:
        • Assert the Numeric 2 field is empty
      11. Type "15" into the Numeric 1 field

      Expected Result:

      • Assert the "30" is present in the Numeric 2 field

      Actual Result:

      • Numeric 2 field is empty

      Reproduced on:
      Tomcat 9.0.43 + MySQL 5.7 Portal master GIT ID:  0d9a313b62bf392e02e5c37b9f14c9f37e075fdc

      (Yesterday(06/22/2021) was working normally, do not have hash though)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              carolina.barbosa Carolina Barbosa
              Reporter:
              leilany.ulisses Leilany Ulisses
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Carolina Barbosa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                12 weeks ago

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  Master