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

Unable to add specific user to course when user has multiple accounts with same email address

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0, 2.5.x
    • Fix Version/s: 2.6.0
    • Component/s: Site Info
    • Labels:
      None
    • Environment:
      Sakai 2.5.x

      Description

      SAK-10762 introduced the ability to "Add Participants" by "Official Email Address or Username".

      The problem is that the SiteAction code first does a lookup based on email address and not username (eid). Sakai allows internal users to have multiple accounts with the same email address. This can make it impossible to add a user by EID because of the email lookup.

      Steps to replicate:

      1. Create new user with username "sam@example.edu" and email "sam@example.edu"

      2. Create new user with username "sam-student@example.edu" and email "sam@example.edu"

      3. Go to a course site -> Site Info -> Add Participants

      4. Attempt to add user "sam@example.edu"

      It is impossible to add the first user (eid and email = sam@example.edu) because the email lookup runs first. Shouldn't the EID lookup occur first?

      Patch attached.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code