Uploaded image for project: 'Hybrid Assets'
  1. Hybrid Assets
  2. HASSETS-14

Hybrid assets: damfn.getAssetLink() doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0.1
    • None
    • None

    Description

      In our templates we use damfn.getAssetLink() a lot, which is not supported by hybrid assets it seems.

      With hybrid assets, getAssetLink() is handled by JCRAssetProvider.getLink(Asset asset) which returns a dead link like this:

      /dam/jcr:c1b468af-4f06-4553-a59d-d62b305f0a80/thisisnotatest-62167c0c-9a8e-4e92-bf82-c1fe4e8d2bb8-1597416108581.jpg

      Hybrid assets should support the complete set of damfn functions. It will be very time consuming for us changing all our templates to only use a damfn subset. Having said that,  what's the recommended way of using damfn with hybrid assets?

       

       

       

       

      Checklists

        Acceptance criteria

        Attachments

          1. damfn1.png
            damfn1.png
            5 kB
          2. damfn2.png
            damfn2.png
            521 kB
          3. damfn3.png
            damfn3.png
            682 kB

          Activity

            People

              lfischer Lars Fischer
              tcomiotto Thomas Comiotto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD