-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
If a thread node's name start with a "special" character (! or [ for example) which is turned into a - when saving the node, the query used in info.magnolia.module.forum.DefaultForumManager#getMessages (incidentally used in a ...template!yuck.) fails miserably, presumably because of that first hyphen.
Here's such a failing query, as generated by the criteria module:
//sandbox/-what-//*[( (jcr:primaryType='mgnl:message') and not( (@validated='false') ) )] order by @creationDate ascending
This simplified query fails the same way
//sandbox/-what-//*
Acceptance criteria