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

Duplicate entries for users in user picker fields

XMLWordPrintable

      Problem Definition

      While attempting users to the Watchers field in any issues, users appear as duplicates (and the occurrence increases) in the suggested user list.

      Environment

      1. The affected users could be users from External Directories, for example, Microsoft Active Directory with mix case or uppercase in their username
      2. It also can be done with User Management's Edit User action on Internal Directory as long as username is mixed case.

      Steps to Reproduce the Problem

      1. Log in to JIRA as the AD user with mixed case (problem is including Active Directory but not limited to it)
      2. Open another browser which does not share the same session as step 1, log in as an admin.
      3. Go to any existing issue and click to Add Watchers.
      4. Type the name of the AD user in the Watcher field but do not add it.
      5. Log out as the AD user and log in again.
      6. As an admin, refresh the issue page and attempt to add the AD user as a watcher again.

      Expected Result

      There will be no duplicated users in the suggested user list.

      Actual Result

      The username appear as duplicates on the user picker. With every logout and login, the usernames adds an additional duplicate entry on the user picker.

      Workaround

      Restart JIRA.

      As soon as users start performing login cycles again, the number of occurrences in user pickers will increase again.

        1. 10-17-2016 10-30-36 AM_DuplicatedUsernameAlexAzad.png
          68 kB
          adam.shepherd194521870
        2. 10-17-2016 10-30-36 AM_DuplicatedUsernameAlexAzad.png
          72 kB
          adam.shepherd194521870
        3. 10-17-2016 10-30-36 AM_DuplicatedUsernameAlexAzad.png
          239 kB
          adam.shepherd194521870
        4. image-2017-02-10-13-50-21-655.png
          21 kB
          Mike Meerschaert
        5. image-2017-02-10-13-50-36-278.png
          21 kB
          Mike Meerschaert
        6. user_suggestions.png
          233 kB
          Joao Palharini

              pbugalski Pawel Bugalski (Inactive)
              michin Michelle Chin
              Votes:
              116 Vote for this issue
              Watchers:
              160 Start watching this issue

                Created:
                Updated:
                Resolved: