[MAGNOLIA-4433] Templating samples don't render images Created: 04/Jun/12  Updated: 19/Jul/12  Resolved: 22/Jun/12

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 4.5.3
Fix Version/s: 4.5.4

Type: Bug Priority: Major
Reporter: Zdenek Skodik Assignee: Jan Haderka
Resolution: Fixed Votes: 1
Labels: templating-jsp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-4388 i18n wrapper doesn't return value for... Closed
caused by MAGNOLIA-4444 TemplatingFunctions.link* methods pro... Closed
caused by MAGNOLIA-4481 Core: LinkUtil should be refactored f... Closed
relation
is related to MAGNOLIA-3972 Image broken links when using both DM... Closed
is related to MAGNOLIA-4443 Add image rendering to jsp templating... Closed
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   

It uses <img src="${cmsfn:link(content.image)}" /> to associate an image uploaded via the file control. The thing is that content.image returns a String, however the TemplatingFuntions' link method expects a ContentMap instead.



 Comments   
Comment by Edgar Vonk [ 04/Jun/12 ]

I just want to mention that I am pretty sure (did not test on a clean installation though) that this issue was introduced in Magnolia 4.5.3. On Magnolia 4.5.2 I did not see the issue.

Comment by Jan Haderka [ 05/Jun/12 ]

If this issue was introduced in 4.5.3 (and I have no reason to doubt that claim), it was most likely introduced by MAGNOLIA-3972 ... once confirmed, please change the link type to causality.

Comment by Thomas Kratz [ 20/Jun/12 ]

We are currently struggling with this issue too. Is there a known workaround for 4.5.3 to create a link to an image in the content node?

Generated at Mon Feb 12 03:55:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.