I have to reopen this issue.

  • nodeIterator = QueryUtil.search("data", "select * from category", "JCR-SQL2", "");
    returns empty iterator because returnItemType is just empty string. Also catalina.out is then full of error messages like these:
    2013-03-11 13:17:56,177 ERROR info.magnolia.jcr.predicate.NodeTypePredicate     : Failed to read type of node node /categorization/Politics
    

    You should specify item type to be nt:base or better category. Then it will return all category nodes.



  • After fixing previous one, freemarker error occures on pages with tag cloud because you return List<Node> from getTagCloud(). However in /shop/paragraphs/extras/tagCloud.ftl template you use item.@name signature which is only available in ContentMap, not in JCR Node.
Change By: Jaroslav Simak (11/Mar/13 1:26 PM)
Resolution: Fixed
Status: Closed Reopened
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: <[email protected]>
----------------------------------------------------------------

Reply via email to