-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
Steps to reproduce
- Upload assets as ZIP-archive
- Use
{{[#assign asset = damfn.getAsset(content.imageLink)!]
- Add image to component
Expected results
- Asset loads normally on the templates
Actual results
- Image does not load on page editor, nor can it be reached individually
Workaround
- no workaround
Development notes
- Does not work with sanitized (no whitespaces) filenames either (
MGNLDAM-843) - This does not work (getAsset):
[#assign asset = damfn.getAsset(content.imageLink)!]
- This does work (getRendition, it is used in travel):
[#assign asset = damfn.getRendition(content.imageLink, "original")!]
- So somehow what damfn.getAsset returns is not working with zipped files.
- getAsset works well for assets that were uploaded directly (not through zip-files)
- Probably related to extension being added at the end when uploading from zip
Acceptance criteria
- relates to
-
MGNLDAM-843 Whitespaces are not sanitized when uploading assets through zip-files
- Closed