Closed Bug 755313 Opened 14 years ago Closed 14 years ago

Deleting your user account when you have installed in app

Categories

(Marketplace Graveyard :: Code Quality, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
2012-05-31

People

(Reporter: andy+bugzilla, Assigned: andy+bugzilla)

Details

If you delete your account, it will cascade deletes across the install and purchase tables. We can't do that anymore as it will invalidate your receipts. A quick fix is to not allow accounts to be deleted once they have installed an app. A longer term fix is to soft delete accounts or to make sure we do not do the cascade and everything works appropriately. Happy to see the quick fix in soon so that the longer fix can happen.
Assignee: nobody → amckay
Target Milestone: 2012-05-17 → 2012-05-31
Hmm that is a problem, huh? I agree on both parts. To make things easier, I'd even be okay if the short term solution was to make it very clear on the delete page that their apps will stop working (and link to the disable page instead?). So few people will ever try to delete their accounts that we can get away with doing this as simple as possible.
Actually don't think there's any issue here. I can't reproduce @pmac original issue. When you delete an account it anonymises, preserving the Installed record. https://github.com/mozilla/zamboni/blob/master/mkt/account/views.py#L246 I added two tests to show this: https://github.com/mozilla/zamboni/commit/a9d4ac If anyone can reproduce normal actions by a user, deleting an account and invalidating a receipt, please reopen with STR.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.