Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6158

jsp taglib cmsfn:link returns incorrect path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 5.3.7
    • taglibs
    • None
    • Window 7, Sprint Tool Suites, Blossom

      I have created a blossom project in magnolia version 5.3.2. and I just upgrade it to version 5.3.7.
      after upgrade, all the links created using jsp taglib were broken.
      For example:
      if the content.logoUrl 's input value is /test/logimage
      here is the jsp code:
      <c:set var="logoImage" value="${cmsfn:content(content.logoUrl,'dam')}" />
      <img alt="logo" src="${cmsfn:link(cmsfn:asContentMap(logoImage))}">

      in version 5.3.2, ${cmsfn:link(cmsfn:asContentMap())} will return "/dam/jcr:[uuid]/logoimage"
      but in version 5.3.7, it returns /test/logimage.html"

      so in 5.3.7 all the links created this way were broken.
      I tried to searching for documents for how to migrate from 5.3.2 to 5.3.7, but it seems I don't need special steps or script changes.

        Acceptance criteria

              Unassigned Unassigned
              April Joan Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD