[MGNLDAM-340] Not possible to get Properties from DAM Object in Freemarker Created: 14/Nov/13  Updated: 07/Feb/14  Resolved: 07/Feb/14

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.1.1
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Tom Wespi Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Get the Asset
assign document = damfn.getAssetForId(content.download)

In [document] you have just access to the MetaData e.g. fileName, size ...

But as it seems there is no way to get the other properties like title, caption..

When then doing something like

public String getAssetTitle(Asset asset)

{ return asset.getTitle(); }

the result is an empty string.



 Comments   
Comment by Tom Wespi [ 14/Nov/13 ]

Not an issue, please delete. It was some weird caching issues...

Comment by Eric Hechinger [ 07/Feb/14 ]

see comments

Generated at Mon Feb 12 04:58:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.