-
Bug
-
Resolution: Duplicate
-
Neutral
-
None
-
5.7.2, 6.0
-
None
when a file with whitespaces in the name is stored in a workspace, when it is retrieved from the template, it cannot be found because the URL is not generated propertly.
Steps to reproduce(demoauthor):
1. Go to Configurations app and add a new Dam upload filed (fileUpload.xml) to the tours app. (/modules/tours/apps/tours/subApps/detail/editor/form/tabs/tour/fields).
2. Go to Tours App and upload a file whitespaces in its name (for example to /magnolia-travels/Vietnam--Tradition-and-Today).
3. Add the following code to a tempate (for instance to html component in mtk)
<a href="${cmsfn.link(cmsfn.contentByPath('/magnolia-travels/Vietnam--Tradition-and-Today/photo', 'tours'))}">My file</a>
4. Go to pages app and use Basic template to create a page. Add and HTML component to this page.
Expected: link to the file you have uploaded.
Actual result: 404 error page.
- duplicates
-
MAGNOLIA-7531 Persona photos are missing in Preview app
- Closed