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

Forms rule does not get applied when more than one Multiple Selecition box is checked

    Details

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

      Description

      Steps to Reproduce

      1. Add a Form
      2. Add a Multiple Selection named Check field
        1. Add 2 options: Yes and No
      3. Add a Date field
      4. Navigate to Rules manager
      5. Add the following rule:
        If Check Field is equal to Value yes
        Do Show Date field
      1. Add the following rule to the Field Visibility Expression field in 7.0:
        equals(CheckField,Yes)
      1. Save Rule
      2. Save and Publish Form
      3. Open Published Form
      4. Check "Yes" and assert Date field becomes visible
      5. Check "No" (both Yes and No should be checked)

      Expected Result
      Since "Yes" is still checked, it's assumed that the Date field remains visible.

      Actual Result
      After the "No" box is checked, the Date field becomes hidden again.

      Reproduced on
      Tomcat 8.0 + PostgreSQL 9.4
      Portal master GIT ID 9c083c537b017dff0e1c49d8a008fdd1b4a3026f

      liferay-portal-ee 7.0.x GIT ID 387f21e7f4fbfba914a303de4b0706ae0a34e1a9

        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:
                  3 years, 5 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.X
                  Master