Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-63624

userpicker browser does not return some users when filter by group

XMLWordPrintable

      Issue summary

      User picker does not list all the users in a group, when filtered by group. The users that are not listed however, can be shown if you filter it further with the user's username, for instance.

      Steps to Reproduce

      1. Searching for a group with users in it, for example "anothergroup" which has 13 users (all users are in internal directory),
      2. Attempt to filter by group name in the user picker browser

      Expected results

      It returns all the users in the group.

      Actual results

      It only returns some of the users. This does not happen with the user browser in User Management.

      Notes

      However, when searching for "anothergroup" via the user picker, here's the query that gets run on the DB:

      SELECT user_name FROM public.cwd_user WHERE (active =  '1' ) AND (directory_id =  '1' ) ORDER BY lower_user_name LIMIT 1000

      This returns all usernames in the database. The results are then filtered in memory. Thus, the bug seems to lies in the subsequent filtering that occurs within the user searcher in UserBrowserPicker class

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              drauf Daniel Rauf
              tchai Tzu Hau Chai (Inactive)
              Votes:
              50 Vote for this issue
              Watchers:
              55 Start watching this issue

                Created:
                Updated:
                Resolved: