Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4051

[Demo] Carousel and feature-list: Bad resolving

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 3.4, 3.5
    • Démo
    • None
    • 1 - Middle term
    • 2 - Normal

      On Demo, there is an example of carousel and feature-list for filtered contents service. But the context of the selected content is forced by a parameter to retrieve the image to show.
      It works fine for "metadata" images but not for "explorer" images.
      I think adding a method to the resolver component with a context parameter should be a good idea.

      Temporary hack:
      In template match="content", replace url param by:

      <xsl:variable name="url"><xsl:value-of select="$file"/><xsl:if test="$type='metadata'">?contentId=<xsl:value-of select="@id"/></xsl:if></xsl:variable>

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: