[MGNLSTK-737] Contact paragraph throws freemarker error Created: 20/Jan/11 Updated: 20/Jan/11 Due: 21/Jan/11 Resolved: 20/Jan/11 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | demoproject, paragraphs |
| Affects Version/s: | 1.4.1 |
| Fix Version/s: | 1.4.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Boris Kraft | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia 4.4.1 demoauthor |
||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
Go to our demo website, add a new contact in the data module, go to an article page, add a contact paragraph in the "extra" column, select the newly created contact. You will get a freemarker error as follows: FreeMarker template error! Expression model.contact.web is undefined on line 104, column 63 in templating-kit/paragraphs/teasers/contact.ftl. I have attached my test contact entry. |
| Comments |
| Comment by Philipp Bärfuss [ 20/Jan/11 ] |
|
We should better fix STKUtil.getExternalLink() so that it doesn't prefix empty strings with http:// |