[MGNLSTK-1028] Implement stkfn.getAsset(contentMap, nodeDataPrefix, variationName) Created: 16/Nov/12  Updated: 20/Sep/13  Resolved: 06/Sep/13

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 2.0.6
Fix Version/s: 2.0.13, 2.6

Type: Improvement Priority: Neutral
Reporter: Cesar Desales Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLMIGRATION-149 All ftl templates: Fix access to assets Closed
Template:
Acceptance criteria:
Empty
Sprint: 5.1 - RC1

 Description   

Implement getAsset with a ContentMap object as first argument:

getAsset(ContentMap content, String nodeDataPrefix, String variationName)

The current version of STK already includes similar methods.

getAsset(ContentMap content, String nodeDataPrefix)
getAsset(Node content, String nodeDataPrefix, String variationName)


 Comments   
Comment by Cesar Desales [ 16/Nov/12 ]

MGNLMIGRATION-149 describes how a customer ran into a use case where this fix was suggested.

Generated at Mon Feb 12 07:32:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.