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

Collection Filter doesn't work with Collection Provider

    Details

    • Fix Priority:
      4
    • Last Working Version:

      Description

      Step to reproduce:

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a vocabulary named Availability
      3. Add two categories named Instock and Sellout
      4. Add the first web content
      5. Add the second web content with Sellout
      6. Add the third web content with Instock
      7. Add a display page template for Web Content Article and Basic Web Content
      8. Add a Collection Display fragment to display page template
      9. Select the Related Assets in Collection Display
      10. Select the Bordered List in List Style
      11. Add a Collection Filter above the Collection Display
      12. Select Related Assets as Target Collection
      13. Select Category for Filter
      14. Select the Availability vocabulary in Source
      15. Publish display page template
      16. Edit the first web content
      17. Select the second and third web content as related assets
      18. Select the DPT as Specific
      19. View Content
      20. View the second and third web contents shown in display page template
      21. Select the Instock category in Collection Filter
      22. View only the third web content shown

      Note: Both Category and Keywords type doesn't work.

      Expected Results:
      Only the third web content should be shown.

      Actual Results:
      Both second and third web contents are shown.

      Reproduced on:
      Tomcat 9.0.43 + MySQL 5.7. Portal master GIT ID: b21cb5dc4ed55dcd17b117d1fe1015fa440290c8.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package