← Back to team overview

mahara-contributors team mailing list archive

[Bug 1714082] Re: The user's primary email address is not checked in a case insensitive way

 

Commit hash: a14b6396b94b750b2c0194ccec4d271c604e75f7
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw 

PRECONDITIONS: 
------------------------ 
1) Site admin creates user with email = UserA@xxxxxxxxxxx

TEST STEPS: 
------------------------ 
1) Log in as Site admin 
2) Try creating users with the following emails and verify the Error message displayed = "This email address has already been registered here."
a) usera@xxxxxxxxxxx = error expected ✘
b) Usera@xxxxxxxxxxx = error expected ✔
c) userA@xxxxxxxxxxx = error expected  ✔
d) userā@example.com = error expected ✔ - Error message = "Invalid email address"
e) UserA@xxxxxxxxxxx = error expected ✔ - Error message displayed = "This email address has already been registered here."
3) Browse to the new user profile as Site admin 
4) Edit the email address - UserA@xxxxxxxxxxx using the following options 
a) usera@xxxxxxxxxxx = error expected ✘
b) Usera@xxxxxxxxxxx = error expected ✘
c) userA@xxxxxxxxxxx = error expected ✘
d) userā@example.com = error expected ✔ - Error message = "Invalid email address"
5) Log out and Log in as user with email address = UserA@xxxxxxxxxxx
6) Browse to User profile page - click tab "Contact information
7) Add the following email addresses (ensure you click the Save profile button at btm of page after every addition of an email address
a) usera@xxxxxxxxxxx = error expected  ✘
b) Usera@xxxxxxxxxxx = error expected  ✘
c) userA@xxxxxxxxxxx = error expected  ✘
d) userā@example.com = error expected ✔ - Error message = "Invalid email address"
e) UserA@xxxxxxxxxxx = error expected ✔ - Error message displayed = "This email address has already been registered here."

Catalyst QA Failed Testing ✘

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1714082

Title:
  The user's primary email address is not checked in a case insensitive
  way

Status in Mahara:
  In Progress

Bug description:
  Currently you can create 2 users, via the Admin -> Users -> Add user
  screen, with this:

  username: Test one   email: UserA@xxxxxxxxxxx
  username: Test two   email: usera@xxxxxxxxxxx

  but not another user with

  username: Test three   email: usera@xxxxxxxxxxx

  As it complains the email address 'usera@xxxxxxxxxxx' is used

  However, with email addresses the domain part is case insensitive and
  only the username part is case sensitive - yet saying that most email
  servers treat the username part also as case insensitive to avoid
  email delivery confusion - see https://www.lifewire.com/are-email-
  addresses-case-sensitive-1171111

  To also avoid confusion within Mahara we should limit the primary
  email address to be case insensitive unique.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1714082/+subscriptions


References