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

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

    Details

    • Branch Version/s:
      7.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      Note: This issue is apparent when Audience Targeting is installed

      Reproducing steps:

      1. Install Audience Targeting (from Marketplace)
      2. Go to Control Panel --> Users and Organizations --> Organizations and add an Organization.
      3. Go to Users --> add a user then add the user to the organization.
      4. Go to Configuration --> Audience Targeting and add a User Segment and under the "Rules" select User Attributes and drag & drop an "Organization Member".
      5. Go to Categorization --> Categories --> add a Vocabulary and 2 categories to it.
      6. 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.
      7. 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).
      8. 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).

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            ricardo.couso Ricardo Couso
            Participants of an Issue:
            Recent user:
            Yang Cao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              13 weeks, 6 days ago

                Packages

                Version Package
                7.1.10 DXP FP15
                7.1.X