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

Asset Publisher will not filter by categories if User Segments filter is on


    • Type: Bug
    • Status: In Progress
    • Resolution: Unresolved
    • Affects Version/s: 3.x
    • Fix Version/s: None
    • Component/s: Content Targeting
    • Labels:
    • Flagged:
    • Fix Priority:


      Reproducing Steps

      1. Go to Control Panel --> Users and Organizations --> Organizations and add an Organization.
      2. Go to Users --> add a user then add the user to the organization.
      3. Go to Configuration --> Audience Targeting and add a User Segment and under the "Rules" select User Attributes and drag & drop an "Organization Member".
      4. Go to Categorization --> Categories --> add a Vocabulary and 2 categories to it.
      5. Go to Content --> Web Content and add 4 Basic Web contents as follows:
        1. Content with Category1 and User Segment.
        2. Content with Category2 and User Segment
        3. Content with only User Segment.
        4. Content with Category1 only.
      6. Place an Asset Publisher Portlet onto the page and go to Configuration.
        1. Set up Filter by adding the Rule: Contains - Any - of the following Categories, and select both categories
        2. Enable the User Segments Filter (turn it to Yes).
      7. Logout and login with the created user.

      Actual Result: The AP displays all four contents, even the content without the category User Segment.
      Expected Result: Only the contents belonging to Category1 or Category2 and with the category User Segment should be displayed (the first 3 contents).

      Note: If you use only one category, then it works as it should. (If you remove the categories, the AP will still display all of the contents.)


          Issue Links



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


                • Created:


                  Version Package