[
http://jira.magnolia-cms.com/browse/DOCUM-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21635#action_21635
]
gjoseph edited comment on DOCUM-14 at 3/9/09 6:03 PM:
-------------------------------------------------------------
The issue seems to be related to the following:
* the query entered in the dialog (in this case {{select * from
mgnl:contentNode where contains(., '\{0}') order by jcr:score}}
* the query is correclty formatted: {{{0}}} is replaced by the search terms:
{{select * from mgnl:contentNode where contains(., 'module') order by
jcr:score}}
* the {{searchResultSnippet}} tag seems to be confused, as when commented out,
the results are displayed properly: {{<cmsu:searchResultSnippet
query="${param.query}" page="${node}" />}}
was (Author: gjoseph):
The issue seems to be related to the following:
* the query entered in the dialog (in this case {{select * from
mgnl:contentNode where contains(., '{0}') order by jcr:score}}
* the query is correclty formatted: {{{0}}} is replaced by the search terms:
{{select * from mgnl:contentNode where contains(., '') order by jcr:score}}
* the {{searchResultSnippet}} tag seems to be confused, as when commented out,
the results are displayed properly: {{<cmsu:searchResultSnippet
query="${param.query}" page="${node}" />}}
> Exception on certain queries
> ----------------------------
>
> Key: DOCUM-14
> URL: http://jira.magnolia-cms.com/browse/DOCUM-14
> Project: Documentation Module
> Issue Type: Bug
> Reporter: Gregory Joseph
> Assignee: Gregory Joseph
> Fix For: 1.0.1
>
> Attachments: docum-query-stacktrace.txt
>
>
> Rather curious stacktrace when searching for, for instance, {{module}},
> {{modules}}, {{template}} or {{templating}}. See attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------