Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-715

Invalid search term for people directory gives stack traces

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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)

            [AI-715] Invalid search term for people directory gives stack traces

            BillA added a comment -

            Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

            BillA added a comment - Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

              Unassigned Unassigned
              dkjellin Daniel (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: