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

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

      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:
                Enterprise Release HU
                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:
                  6 weeks ago

                  Packages

                  Version Package
                  Master