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

The calculator in Rules should display the Field Reference instead of Field iD

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.4.13 DXP GA1, Master
    • Component/s: Forms
    • Labels:
      None

      Description

      As a consequence of LPS-121561 where it was added the new Field Reference, this field should be displayed in the Calculator (Rules > Actions > Calculator) instead of the Field ID.

       Steps to reproduce

      1. Add a Form with at least two 'Numeric' fields
      2. Go to rules and add a new rule
      3. Select 'Calculate' as the action and choose the first numeric field to show the result 
      4. Click on 'Add Field' dropdown and include the second numeric field in the calculator expression
      5. Save the Rule

      Actual Result

      Field ID below the Field Label in the Add Field dropdown

      Field ID in the calculator expression

      Expected Result

      Field Reference below the Field Label in the Add Field dropdown

      Field Label in the calculator expression

       Environment:

      Master: aad039667411d99fecabd6f8c6f43675a42316c3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cleyton.magalhaes Cleyton Magalhaes (Inactive)
              Reporter:
              luiz.jardim Luiz Jardim
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Aline Cantarelli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 27 weeks, 1 day ago

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  Master