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

Asset publisher filter contains all is overridden by filter contains any

    Details

      Description

      Reproduction steps:

      1. Start a 7.2 bundle
      2. Go to Content & Data --> Web Content and create 3 basic web contents as the following:
      a. Web Content "test1" and add to it the tags in metadata "test1" and "Wand"
      b. Web Content "test2" and add to it the tags "test2" and "Wand"
      c. Web Content "test3" and add to it the tag "test3"

      3. Add an Asset Publisher Portlet to the Page and click on the Portlet's 3 dots and select Configuration --> Setup --> Asset Selection --> Dynamic --> Asset Type "Web Content Article" --> Web Content Article Structures "Any"

      4. Scroll down to Filter and add the Rule:
      Contains all of the following Tags "test1" then add a second Rule:
      Contains any of the following Tags "Wand" then Save.

      5. Check the Asset Publisher on the Page.

      Current behavior: test1 and test2 web contents are displayed.
      Expected behavior:  Only test1 should be displayed.

        Attachments

          Activity

            People

            Assignee:
            hong.zhao Hong Zhao (Inactive)
            Reporter:
            attila.bakay Attila Bakay
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Attila Bakay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              41 weeks, 1 day ago

                Packages

                Version Package
                7.1.X
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                Master