-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.1
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MDL-78888-403 -
When using "Upload users" by "Match on email address" with different letter case email address, users can be created.
Steps to replicate the issue:
- Make sure the setting "Allow accounts with same email" in "Site administration > Plugin > Authentication > Manage authentication > Common settings" is set "No". (Default is "No")
- Go to "Site administration > Accounts > Upload users".
- Choose "test-import1.csv" (attached) and click "Upload users".
- Keep all options as default, then click "Upload users".
- Confirm the user whose email address is test.user@test.com is created.
- Click "Continue".
- Choose "test-import2.csv" (attached) and click "Upload users".
- Choose the options below
- "Add new and update existing users" for "Upload type"
- "Override with file" for "Existing user details"
- "Yes" for "Match on email address"
- Confrim the user whose email address is Test.User@test.com is created.
Email address is case insensitive, so the user shouldn't be created.