Closed Bug 737263 Opened 14 years ago Closed 14 years ago

Some profiles have invalid usernames

Categories

(Participation Infrastructure :: Phonebook, defect)

x86
macOS
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tofumatt, Assigned: tofumatt)

References

Details

(Whiteboard: [rel:03/21/2012])

IRC nicks were moved over to usernames, but it seems not sanitized properly, so usernames like "odin, odinm" exist. This causes problems because they aren't valid Django Auth usernames (less of a big deal) but are also not caught by our current URLconf (which doesn't check for spaces/commas -- bigger deal). This will cause 500 errors on any page with a link to an un-resolvable profile URL.
The fix here is to write a migration that changes all usernames to valid ones. Working on it.
Assignee: nobody → tofumatt
Severity: normal → blocker
Whiteboard: [rel:03/21/2012]
Commit pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/b4e9ae6305f84f31789d9d01af5cf6c3d3ebbd78 Cleanup usernames (fix bug 737263) Migrate usernames to be free of unsupported characters.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
QA verified on prod - bumping to verified - as far as I can tell we're not receiving any of the tracebacks that we were previously seeing (bug 736596).
Status: RESOLVED → VERIFIED
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Version: unspecified → other
You need to log in before you can comment on or make changes to this bug.