Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-386

JcrAssetProvider#getAssetIdentifierForPath is not able resolve asset's identifier for path which contains also the file name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.2.7
    • 1.2.1
    • None
    • None

      damfn.getAssetLinkForId(item.image) returns the following url with the following DAM structure:

      • URL: /magnoliaAuthor/corporate/dam/moved_from_data_references/References/EEClients/Virgin-America/virgin-america-screenshot/virgin%20america%20screenshot.png
      • DAM Path: /moved_from_data_references/References/EEClients/Virgin-America/virgin-america-screenshot
      • Image name: virgin america screenshot
      • Image type: png

      Unfortunately, the DAM servlet does not recognize this link. The following wraning is thrown:

      2014-01-29 16:15:19,776 WARN  info.magnolia.dam.DefaultDamManager               : No asset Found for the following path '/moved_from_data_references/References/EEClients/Virgin-America/virgin-america-screenshot/virgin america screenshot'. Nothing will be returned
      

      And the servlet use a fallback strategy to finally find the asset.

      Unfortunately, since this call is successful, the cache associate this asset to a wrong url.

        Acceptance criteria

              mdivilek Milan Divilek
              nbarbe Magnolia International
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD