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

As a page creator I can display AssetEntry-based Collection Providers through Collection Display via mapping of fields

    Details

      Description

      The Collection Display display fragment allows selecting existing Collections and Collection Providers in order to display them. The main method for defining the display of each item in the collection is to allow the page creator to add components within a cell and use mapping of fields to specify which field will be shown where and how. 

      LPS-110191 introduces four generic collection providers out of the box: Most Viewed Content, Highest Rated Content, Related Content and Recent Content) All of them support multiple content types at once by using Liferay's Asset Framework and its "AssetEntry" type. One drawback of this is that mapping is not available (since they are tied to specific types), which causes these fragments to not be usable with Collection Display.

      The goal of this story is to solve this by supporting mapping for fields that are common for all "AssetEntries".

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      The asset entries should be ordered by view count from high to low in Collection Display when select Most Viewed Assets as Collection Provider Critical Manual No No Yes
      The asset entries should be ordered by ratings from high to low in Collection Display when select Highest Rated Assets as Collection Provider Critical Manual No No Yes
      The asset entries should be ordered by modified time from recent to past in Collection Display when select Recent Content as Collection Provider Critical Manual No No Yes
      The related assets should be in Collection Display when select Related Assets as Collection Provider Critical Manual No No Yes

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master