Closed Bug 736562 Opened 13 years ago Closed 13 years ago

Account deletion: ensure the users nick is sanitized

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mbrandt, Assigned: tallOwen)

References

()

Details

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

Attachments

(1 file)

Attached image qa - hot-sauce
It appears that nicknames are not being "deleted" which is interfering with other accounts trying to assume previously used nicknames. To capture the spec that this was designed towards - per :tallowens email: We don't delete the actual row in the database anymore, now we just clear all of their data from the app. (Instead of removing the object, we leave the shell of the user). This is useful for when one user points to a specific other user who might delete their account. That code is here: (https://github.com/mozilla/mozillians/blob/prod/apps/users/models.py#L138). Steps to reproduce: 1. account A - assume the nickname "hot-sauce" 2. delete account A 3. create account B - assume the nickname "hot-sauce" Expected: The nickname "hot-sauce" should be available for reuse. Actual: It is not - "This username is in use. Please try another."
Assignee: nobody → owen
Whiteboard: [rel:03/21/2012]
Summary: Account deletion: ensure the users nick is scrubbed → Account deletion: ensure the users nick is sanitized
Commits pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/a707525531341a0be456bbfc465024d4246edf6c bug736562: usernames don't get properly sanitized Added tests that make sure its done https://github.com/mozilla/mozillians/commit/4a31983b636f105b45729ffc09fcdf4d4f392f5b Merge pull request #168 from tallowen/username_issues bug736562: usernames don't get properly sanitized
https://github.com/mozilla/mozillians/commits/prod The commit is on the "prod" branch, however stage server needs to be re-synced up with the "prod" branch.
Bumping to resolved fixed per comment 3. Once stage is synced with the prod branch QA will verify.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Stage is running the prod branch of code.
(In reply to Matthew Riley MacPherson [:tofumatt] from comment #5) > Stage is running the prod branch of code. Good stuff - I should have been a bit more explicit, I'm waiting on bug 735755 to get resolved before diving into verification of the features that have landed.
copy/paste fail - I meant bug 737674
QA verified on stage - user nickname's are now recyclable once an account is deleted.
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.

Attachment

General

Created:
Updated:
Size: