[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: |
|
||||||||||||||||||||||||||||
| 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 |
| 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? |