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

Description

https://sakaiproject.atlassian.net/browse/SAK-10762#icft=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.

Attachments

1
  • 22 May 2008, 09:42 AM

Activity

Show:

Sam Ottenhoff August 14, 2009 at 11:54 AM

Confirmed still fixed in trunk.

Zhen Qian June 16, 2008 at 8:48 AM

Patch has been applied in r47504. Thanks, Sam.

  • Zhen

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Environment

Sakai 2.5.x

Created May 22, 2008 at 9:42 AM
Updated August 10, 2010 at 2:01 PM
Resolved June 16, 2008 at 8:48 AM

Flag notifications