[MGNLFORUM-138] Threadlist page fails if a thread starts with a "special" character Created: 06/Jan/11  Updated: 04/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Forum (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: Ideas

Type: Bug Priority: Neutral
Reporter: Magnolia International Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

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-//*


 Comments   
Comment by Christoph Meier [ 09/Dec/13 ]

Moved from fix to version 4.0 to Ideas.

Comment by Michael Mühlebach [ 04/Nov/15 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

Generated at Mon Feb 12 02:01:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.