-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.0.5
From what I'm seen here the Upload Users tool doesn't validate idnumber uniqueness.
—
Steps to reproduce the error
- Go to Site administration / ► Users / ► Accounts / ► Upload users
- Attached csv and upload it with default options
- Go to Site administration / ► Users / ► Accounts / ► Browse list of users and search for idnumber 1234
- You should see one user with this idnumber
- Open the attached file, change the username and email so they are unique on your instance
- Upload the file again with default options
- Go to Site administration / ► Users / ► Accounts / ► Browse list of users and search for idnumber 1234
- You should see two users with the same idnumber
Expected behaviour
Scenario 1 - Creating a new users
If the csv provided has the column idnumber, before creating the user we should check if the idnumber is unique in the LMS and skip the user otherwise.
Scenario 2 - Updating user information
If the csv provided has the column idnumber, before updating the user information we should check if the idnumber is unique in the LMS and skip the user otherwise.
- will be (partly) resolved by
-
MDL-64287 Optionally enforce user ID number uniqueness
-
- Open
-