Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78888

Upload users by "Match on email address" creates users with same email address when the email is different letter case

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-78888-403
    • Hide
      1. Log in as admin
      2. Navigate to Users > Accounts > Upload users in site administration
      3. Upload test-import1.csv and proceed through the wizard, using default values
      4. Confirm user with first name Test and last name User is created
      5. Press Continue
      6. Upload test-import2.csv and press Upload users
      7. On the subsequent form, set the following values:
        • Upload type: Add new and update existing users
        • Existing user details: Override with file
        • Match on email address: Yes
      8. Press Upload users
      9. Confirm the Upload users results shows Users created: 0 and Users updated: 1
      10. Confirm the user with email address Test.User@test.com first name is now First and last name is Last
      Show
      Log in as admin Navigate to Users > Accounts > Upload users in site administration Upload test-import1.csv and proceed through the wizard, using default values Confirm user with first name Test and last name User is created Press Continue Upload test-import2.csv and press Upload users On the subsequent form, set the following values: Upload type: Add new and update existing users Existing user details: Override with file Match on email address: Yes Press Upload users Confirm the Upload users results shows Users created: 0 and Users updated: 1 Confirm the user with email address Test.User@test.com first name is now First and last name is Last

      When using "Upload users" by "Match on email address" with different letter case email address, users can be created.

      Steps to replicate the issue:

      1. Make sure the setting "Allow accounts with same email" in "Site administration > Plugin > Authentication > Manage authentication > Common settings" is set "No". (Default is "No")
      2. Go to "Site administration > Accounts > Upload users".
      3. Choose "test-import1.csv" (attached) and click "Upload users".
      4. Keep all options as default, then click "Upload users".
      5. Confirm the user whose email address is test.user@test.com is created.
      6. Click "Continue".
      7. Choose "test-import2.csv" (attached) and click "Upload users".
      8. 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"
      9. 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.

            pholden Paul Holden
            tomotsuyuki Tomo Tsuyuki
            Stevani Andolo Stevani Andolo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 35 minutes
                1h 35m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.