![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Unassigned |
Created:
|
04/Feb/14 2:48 PM
|
Description:
|
The template feedSubscriptions.ftl retrieves the author list using the method getItems available on the model FeedSubscriptionsModel.
This method returns a Colloection<Node> which does not expose the "getters" used in the template such as getAuthor.
Thus, on line 22, the following statement throws an exception.
[#list authorsList?sort_by('author') as entry]
The fix consists in converting the Collection<Node> into a Colllection<ContentMap> using cmsfn.asContentMapList:
<link rel="stylesheet" href="" class="code-quote">"${ctx.contextPath}/.resources/planet.css" type="text/css"/>
[#-------------- INCLUDE AND ASSIGN PART --------------]
[#-- Assigns: Definition parameters --]
[#assign authorsList = cmsfn.asContentMapList(model.items![])]
[#assign linkAuthor = content.linkAuthor!false]
[#assign maxResults = content.maxResults!5]
|
Project:
|
Magnolia RSS Aggregator Module
|
Priority:
|
Neutral
|
Reporter:
|
Nicolas Barbé
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------