Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39276

findUsersByEmail includes duplicate records when user has internal and provided record

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.7, 11.1
    • Fix Version/s: 11.3, 12.0
    • Component/s: Kernel
    • Labels:
      None
    • 11 status:
      Resolved
    • 10 status:
      Please Merge
    • Previous Issue Keys:
      KNL-1476

      Description

      To replicate:

      1) Setup Sakai to use LDAP
      2) Add internal record with identical email in SAKAI_USER table
      3) Go to course site -> Site Info -> Add PArticipants
      4) Try to add the user by email

      Error: ''

      {0}

      '' matches multiple users in record. Please select from the following usernames:

      {1}

      Problem is that findUserByEmail is adding both to a Collection instead of just using a unique Set

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ottenhoff Sam Ottenhoff
                  Reporter:
                  ottenhoff Sam Ottenhoff
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code