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

When changing from one rule to another in the same field, numeric field value becomes inconsistent

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.3.10 DXP FP2, 7.3.X, Master
    • Fix Version/s: Master
    • Component/s: Forms

      Description

      Reproducing steps

      1. Create a new form with a Grid Field and a Numeric field
      2. Add a rule "If Field Grid is equal to Option 2:Option" then "Calculate 1234 into Numeric".
      3. Add another rule "If Field Grid is equal to Option 2:Option2" then "Calculate 12345678 into Numeric".
      4. Preview the form.
      5. Choose Option2:Option into the Grid field.
      6. The value "1234" is shown in the Numeric field.
      7. Choose Option2:Option2 into the Grid field.
      8. The value "12345678" is shown in the Numeric field.
      9. Choose Option2:Option again into the Grid field.
      10. The Numeric field resets its value

      Actual Behavior: The Numeric field resets its value.
      Expected Behavior: The Numeric field should show the value selected in the first rule.

      Reproduced on Master @ 759f60dab992fddc8c124811442fbf0e824bbb6e

        Attachments

          Activity

            People

            Assignee:
            rafaella.jordao Rafaella Jordao
            Reporter:
            richard.jeremias Richard Jeremias
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Engineering Assignee:
            Richard Jeremias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                Master