How to reproduce
- Add a service of filtered contents
- Choose none criteria for ordering contents
- Check box to display RSS feed
Actual behavior
- The service do not fail, contents are well display
- The RSS fed failed with following error
Caused by: javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 192. Encountered: " " (32), after : ":" for statement: for $v in //element(*, ametys:content)[((@ametys-internal:contentType ='org.ametys.plugins.news.Content.news' and @ametys:site = 'www') and @ametys-internal:language ='fr')] order by @ametys: ascending return $v: Lexical error at line 1, column 192. Encountered: " " (32), after : ":": Lexical error at line 1, column 192. Encountered: " " (32), after : ":" at org.apache.jackrabbit.spi.commons.query.xpath.XPathQueryBuilder.<init>(XPathQueryBuilder.java:303) at org.apache.jackrabbit.spi.commons.query.xpath.XPathQueryBuilder.createQuery(XPathQueryBuilder.java:332)