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

Setting a rule condition using Multiple Selection with switcher enabled does not work properly

    Details

    • Sprint:
      Forms_7.3_01, Forms_7.3_02

      Description

      Steps to reproduce:

      1. Go to Content > Forms
      2. Add a new Form
      3. Add Multiple Selection field with switcher enabled
      4. Add some options to field
      5. Add any other field
      6. Go to Rules Tab
      7. Add a new Rule
      8. Set condition(If Multiple Selection is not Empty)
      9. Do Show other field
      10. Save
      11. Preview Form
      12. Enable all options
      13. Disable one option

      Expected Result:

      Other field will continue to show after disabling one option

      Actual Result:

      Other field will disappear after disabling one option (NOTE: Only fails with switcher enabled)

      Using other conditions with Multiple Selection and switcher:

      • Is Equal to/Contains: Selecting option equal to does not show field
      • Is not Equal to/Does not Contain: Selecting option does not remove field
      • Is Empty: Enabling all options and disabling one shows field

      Reproduced on:

      Tomcat 9.0.17 + MySQL 5.7

      Master: 8d3eedcbbadd2b1a02e81c0f9820bc739f84e19e

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 5 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.X
                  7.2.1 CE GA2
                  Master