Details

      Description

      Case1 :
      Collection Filters with text works in content page

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blog, fill blog content as content
      3. Add a web content with text > title : Web Content Title content: web content content
      4. Add a dynamic collection with all types
      5. Add a content page and a collection display to page
      6. Select the created collection
      7. Add a content diplay fragment to collection display
      8. Add a collection filter to page
      9. Select created collection as Target Collection
      10. Select Keywords for Filter
      11. Publish content page
      12. Search Web
      13. Assert only web content displays

      Case 2:
      The user could view a warning info in Collection Filter fragment when no collection in page

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a content page
      3. Add a collection filter to page
      4. Assert there's a warning message indicates to the user that Display a collection on the page so that you can use the collection filter fragment.

      Case3:
      Collection Filters with category works in display page template

      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 manual collection named Hot Sale for All Types
      8. Add the second and third web contents to the manual collection
      9. Add a display page template for Web Content Article and Basic Web Content
      10. Add a Collection Display fragment to display page template
      11. Select the manual collection in Collection Display
      12. Select the Bordered List in List Style
      13. Add a Collection Filter above the Collection Display
      14. Select manual collection as Target Collection
      15. Select Category for Filter
      16. Select the Availability vocabulary in Source
      17. Add a Heading fragment above the Collection Filter
      18. Map the Title field to editable field
      19. Publish display page template
      20. Edit the first web content
      21. Select the DPT as Specific
      22. View Content
      23. View the title of first web content shown in Heading
      24. View the second and third web contents shown in Collection Display
      25. Select the Instock category in Collection Filter
      26. View the title of first web content shown in Heading
      27. View only the third web content shown in Collection Display

      Case4:
      Collection Filters with text works in content page template

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blog with title blog title
      3. Add a web content with title web content title
      4. Add a content page template
      5. Add a collection display fragment to display page template
      6. Select Collection Providers > Recent Content
      7. Select the Bordered List in List Style
      8. Add a Collection Filter above the Collection Display
      9. Select Recent Content as Target Collection
      10. Select Keywords for Filter
      11. Publish page template
      12. Add a content page basing on created page template
      13. Publish content page
      14. Search web content title
      15. Assert only web content displays

      Case5:
      Can filter different Collection Displays by different Collection Filters

      1. Enable collection filter fragment with this gogoshell command:
        "scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer"
      2. Add a blog with title blog title
      3. Add a web content with title web content title
      4. Add a dynamic collection, Item Type selected with Blog Entry
      5. Add a second dynamic collection, Item Type selected with Web Content Article > Basic Web Content
      6. Add a content page and a collection display to page
      7. Select the first created collection
      8. Add a conent display fragment to collection display fragment 
      9. Add a second collection display to page
      10. Select the second created collection
      11. Add a conent display fragment to the second collection display fragment 
      12. Add a collection filter to page
      13. Select the first collection as Target Collection
      14. Search for title
      15. Assert only blog displays
      16. Edit content page and Select the first collection as Target Collection
      17. Search for title
      18. Assert only web content displays
      19. Edit content page and Select the both collections as Target Collection
      20. Search for title
      21. Assert blog and web content display

        Attachments

          Activity

            People

            Assignee:
            david.gutierrez David Gutiérrez Mesa
            Reporter:
            david.gutierrez David Gutiérrez Mesa
            Recent user:
            Yang Cao
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package