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

Form triggering Calculate Rule can't be submitted

    Details

      Description

      Steps to reproduce:
      1. Add a form with the following fields and rule:

      Fields:
          Numeric:
              Label: Operator 1;
              Set as required;
          Numeric:
              Label: Operator 2;
              Set as required;
          Numeric:
              Label: Total;
              Set as required;
      Rules:
          If Field [Operator 1] is not empty AND Field [Operator 2] is not empty Calculate [[Operator1]+[Operator2]] into [Total];
      

      2. Publish the form;
      3. Enter the link of the published form on another tab;
      4. Change the page's viewing language to any other instance's available language, for example Portuguese, by adding "/pt" in the URL just before "/group";
      5. Fill Operator 1 with any number;
      6. Fill Operator 2 with any number;
      7. Assert that Total shows the sum of them;
      8. Submit the entry.

      Expected behavior:
      The entry should be submitted successfully.

      Actual behavior:
      An error message appears indicating that some validation failed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cleyton.magalhaes Cleyton Magalhaes
                Reporter:
                renato.rego Renato Rêgo
                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:
                  13 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.10 DXP FP4
                  7.2.X
                  Master