Issue Type: Bug Bug
Affects Versions: 1.2.4
Assignee: Unassigned
Created: 01/Aug/13 1:52 PM
Description:

I created an RSS Aggregator under AdminCentral > Data > RSS Aggregators and called it '3FM Lowlands'. This created data:/rssaggregator/3FM-Lowlands.

When selecting this path in an instance of stkSingleFeed the FeedListModel class throws an InvalidQueryException in the getFeeds() method, saying:

javax.jcr.query.InvalidQueryException: Encountered "-" at line 1, column 38.
Was expecting one of:
    <IntegerLiteral> ...
    <DecimalLiteral> ...
    <DoubleLiteral> ...
    <StringLiteral> ...
    "<?" ...
    "<?" ...
    <AxisChild> ...
    <AxisDescendant> ...
    <AxisParent> ...
    <AxisAttribute> ...
    <AxisSelf> ...
    <AxisDescendantOrSelf> ...
    <AxisAncestor> ...
    <AxisFollowingSibling> ...
    <AxisPrecedingSibling> ...
    <AxisFollowing> ...
    <AxisPreceding> ...
    <AxisAncestorOrSelf> ...
    "$" ...
    <ElementType> ...
    <AttributeType> ...
    <SchemaElementType> ...
    <SchemaAttributeType> ...
    <OrderedOpen> ...
    <UnorderedOpen> ...
    <ElementQNameLbrace> ...
    <AttributeQNameLbrace> ...
    <PINCNameLbrace> ...
    <PILbrace> ...
    <CommentLbrace> ...
    <ElementLbrace> ...
    <AttributeLbrace> ...
    <TextLbrace> ...
    "*" ...
    <NCNameColonStar> ...
    <StarColonNCName> ...
    "(" ...
    "@" ...
    <DocumentLpar> ...
    <DocumentLparForKindTest> ...
    <DocumentLbrace> ...
    <NodeLpar> ...
    <CommentLpar> ...
    <TextLpar> ...
    <ProcessingInstructionLpar> ...
    <ElementTypeForKindTest> ...
    <ElementTypeForDocumentTest> ...
    <AttributeTypeForKindTest> ...
    <SchemaElementTypeForKindTest> ...
    <SchemaElementTypeForDocumentTest> ...
    <SchemaAttributeTypeForKindTest> ...
    <ProcessingInstructionLparForKindTest> ...
    <TextLparForKindTest> ...
    <CommentLparForKindTest> ...
    <NodeLparForKindTest> ...
    "." ...
    ".." ...
    <QNameLpar> ...
    "<" ...
    "<" ...
    "<!--" ...
    "<!--" ...
    <QName> ...
     for statement: for $v in /jcr:root/rssaggregator/3FM-Lowlands/data/element(*, dataItemNode) order by @jcr:name  return $v

The paragraph doesn't correctly after that too:

2013-08-01 13:40:45,279 ERROR freemarker.runtime                                : Error on line 26, column 1 in templating-kit/paragraphs/teasers/stkTeaserSingleFeed.ftl
model.feeds is undefined.
It cannot be assigned to feedList

Error on line 26, column 1 in templating-kit/paragraphs/teasers/stkTeaserSingleFeed.ftl
model.feeds is undefined.
It cannot be assigned to feedList
The problematic instruction:
----------
==> assignment: feedList=model.feeds [on line 26, column 1 in templating-kit/paragraphs/teasers/stkTeaserSingleFeed.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Error on line 26, column 1 in templating-kit/paragraphs/teasers/stkTeaserSingleFeed.ftl
model.feeds is undefined.
It cannot be assigned to feedList
Project: Magnolia RSS Aggregator Module
Priority: Neutral Neutral
Reporter: Nils Breunese
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>
----------------------------------------------------------------

Reply via email to