[MGNLSTK-1404] STKAssetWrapper is not i18n aware Created: 01/May/14 Updated: 02/Jul/18 Resolved: 02/Jul/18 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 2.7.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Tom Wespi | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia CE 5.2.4 |
||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
Go to /demo-project/about/subsection-articles/article, edit a text image component, set an image caption value in en and in de, save. The issue there is that model like InternalTeaserModel return an STKAssetWrapper and if the ftl would use this wrapper to display the image caption, we always displayed the default value. Original description -------------------------------------------------------------------------- assign assetList = damfn.getAssetsFromFolderId(content.link) The asset always returns the values in the default language. info.magnolia.dam.asset.Asset |
| Comments |
| Comment by Eric Hechinger [ 17/Jul/14 ] |
|
Two points there:
What is true is that STKAssetWrapper that encapsulate an asset and also these properties is not i18n aware. Properies served by this wrapper has to be i18n aware. This ticket will be moved under STK module. |
| Comment by Jan Haderka [ 02/Jul/18 ] |
|
STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation. |