Details
-
Story
-
Resolution: Duplicate
-
Neutral
-
None
-
2.1.1
-
None
-
None
Description
DAM app (based on jcr assets) has a jcr property "name". To obtain the property with ftl you must fetch the jcr node first, otherwise - directly on the asset - seems impossible.
When adding an asset, 2 properties are set automatically with the name of the node (actually with the name of the uploaded image/file).
See screenshot.
The second property - on the UI named "Asset name" - saved as jcr property "name" can be changed without changing the node name. However, to read that property with ftl is cumbersome. ...
Operating on the asset directly always returns the node name but not the value of the jcr property "name".
To improve the situation - the implementation of JcrAsset#getName() could be changed. Currently JcrAsset#getName() always returns the name of the node. Instead the method should try to return the jcr property "name" - if failing fall back to the file name.
Checklists
Attachments
Issue Links
- is duplicated by
-
MGNLDAM-604 Name of Asset is not available via DAM API
-
- Open
-