Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1383

User Segment Content Display portlet's "Otherwise" configuration is not updated correctly when selecting no content

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.x, 2.1
    • Fix Version/s: 2.1.2
    • Component/s: Content Targeting
    • Labels:

      Description

      Description
      Once content has been selected for the "Otherwise" section of the User Segment Content Display portlet, updating the "Otherwise" section to show no content and saving the changes does not correctly update the portlet's displayed content.

      Steps to Reproduce:
      1. Download the latest version of the audience targeting plugin from the Marketplace
      2. Deploy the User Segment Content Display portlet in a page
      3. Create 2 roles A and B
      4. Create 2 content Test A and Test B
      5. Configure the portlet to show "Test A" to users with role A, "Test B" to users with role B, otherwise nothing. Check that everything works fine.
      6. Configure the portlet to show "Test A" as a regular option (in the "otherwise" section). Check that everything works as expected.
      7. Try to change the "Otherwise" configuration so the "Otherwise" selection shows no content at all.

      Expected Result: User Segment Content Display portlet displays nothing for users without Role A or Role B.
      Actual Result: User Segment Content Display still displays "Test A" for users without Role A or Role B.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2.1.2