-
Improvement
-
Resolution: Fixed
-
Neutral
-
1.1.4
-
None
-
-
Empty show more show less
The ftl code generated by current version of migration scripts does not work:
[#assign [#--OLD image = stk.getAsset(content, "image", "ANY")! --] image = stkfn.getAsset(content, "image", "ANY")!]
I see two issues here:
- 'content' is a ContentMap, not a 'Node'
- the standard variation "ANY" does not exist any more
Thus a replacement like
[#assign image = stkfn.getAsset(model.node, "image")!]
should be used.
Acceptance criteria
- caused by
-
MGNLSTK-1028 Implement stkfn.getAsset(contentMap, nodeDataPrefix, variationName)
- Closed