[MGNLSTK-519] Error with Magnolia-Blogs data Created: 11/Nov/09 Updated: 23/Jan/13 Resolved: 11/Nov/09 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 1.1.2 |
| Fix Version/s: | 1.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Olivier Marti | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
When installing a fresh Magnolia 4.2 Beta EE Instance the data of Magnolia Blogs is empty, after importing it and try to display the page /demo-features/aggregation-paragraphs/rss-aggregation.html a freemarker error is the result: Expression feed.title is undefined on line 51, column 28 in templating-kit/paragraphs/teasers/stkTeaserSingleFeed.ftl. |
| Comments |
| Comment by Olivier Marti [ 11/Nov/09 ] |
|
I think acutaly the problem is, that there is no more HTML-Tag removing happening. So the problem only occurs with an early cut-off. |
| Comment by Jan Haderka [ 11/Nov/09 ] |
|
How can description cut off cause "feed.title is undefined"? Since the ${feed.title} doesn't allow the empty title, that is exactly what happens if the title is empty for any given feed. |
| Comment by Jan Haderka [ 11/Nov/09 ] |
|
Title is no longer mandatory and when missing it will be simply omitted by the template. |