-
Suggestion
-
Resolution: Answered
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Go to the people directory and search for "da]"
The log now contains a full stacktrace. This is hardly needed an invalid search term should not spew out a stacktrace.
2010-03-09 14:24:53,028 WARN [http-8080-2] [confluence.search.actions.SearchQueryBean] buildPeopleQuery Unable to build search query: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : ""
– referer: /confluence/dopeopledirectorysearch.action | url: /confluence/dopeopledirectorysearch.action | userName: admin | action: dopeopledirectorysearch
com.atlassian.bonnie.LuceneException: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : ""
at com.atlassian.bonnie.search.LuceneSearcher.buildStandardQuery(LuceneSearcher.java:64)
at com.atlassian.confluence.search.scope.UserScope.addUserFields(UserScope.java:36)
at com.atlassian.confluence.search.scope.UserScope.restrictQuery(UserScope.java:30)
at com.atlassian.confluence.search.actions.SearchQueryBean.buildPeopleQuery(SearchQueryBean.java:202)
at com.atlassian.confluence.user.actions.PeopleDirectoryAction.search(PeopleDirectoryAction.java:123)
at com.atlassian.confluence.user.actions.PeopleDirectoryAction.doSearch(PeopleDirectoryAction.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- relates to
-
CONFSERVER-21306 Lucene search characters are not escaped from the dosearchsite.action's contributor query parameter, resulting in a system error whenever users (unwittingly) enter them into the "Who" input field.
- Closed
-
AI-715 Invalid search term for people directory gives stack traces
- Closed