mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #05566
[Bug 823080] [NEW] Unique username generation fails when uppercase usernames exist
Public bug reported:
If you register with the name "Nigel McNie", the default username that
gets picked for you is "nigelmcnie", and if there's already a
"nigelmcnie" user, you get "nigelmcnie1".
But if there's already a "NigelMcNie" user, you *should* get
"nigelmcnie1", but you get "nigelmcnie" because the check is case-
sensitive. This causes a duplicate key error when you confirm
registration.
** Affects: mahara
Importance: Medium
Assignee: Richard Mansfield (richard-mansfield)
Status: Confirmed
** Changed in: mahara
Status: New => Confirmed
** Changed in: mahara
Importance: Undecided => Medium
** Changed in: mahara
Assignee: (unassigned) => Richard Mansfield (richard-mansfield)
** Changed in: mahara
Milestone: None => 1.5.0
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/823080
Title:
Unique username generation fails when uppercase usernames exist
Status in Mahara ePortfolio:
Confirmed
Bug description:
If you register with the name "Nigel McNie", the default username that
gets picked for you is "nigelmcnie", and if there's already a
"nigelmcnie" user, you get "nigelmcnie1".
But if there's already a "NigelMcNie" user, you *should* get
"nigelmcnie1", but you get "nigelmcnie" because the check is case-
sensitive. This causes a duplicate key error when you confirm
registration.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/823080/+subscriptions
Follow ups
References