Closed
Bug 531085
Opened 16 years ago
Closed 16 years ago
Can't delete user completely in admin interface
Categories
(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P1)
addons.mozilla.org Graveyard
Admin/Editor Tools
Tracking
(Not tracked)
VERIFIED
FIXED
5.4
People
(Reporter: jorgev, Assigned: wenzel)
References
()
Details
Attachments
(2 files)
2.98 KB,
patch
|
jbalogh
:
review+
|
Details | Diff | Splinter Review |
4.23 KB,
text/plain
|
Details |
I'm trying to delete the user in https://addons.mozilla.org/en-US/firefox/admin/users/5032745, but every time I try to delete it, I get this message: "Error deleting user!".
I was able to make the user anonymous, but not delete it. As far as I can tell, the user is not an add-on author, so there shouldn't be any problems deleting it.
Steps to reproduce:
1) Go to https://addons.mozilla.org/en-US/firefox/admin/users/5032745
2) Scroll to the bottom.
3) Choose "Delete user and remove all their reviews/ratings (must not be an add-on author)" and click on the button.
Result:
Error deleting user!
Expected:
The user is deleted.
I'm giving this bug high priority because this happens to be a serious spammer posting malware links and I can't remove the user because of this bug.
Comment 1•16 years ago
|
||
(In reply to comment #0)
> I'm giving this bug high priority because this happens to be a serious spammer
> posting malware links and I can't remove the user because of this bug.
Anonymizing the account is going to have the same effect from the spammer's point of view - they won't be able to use the account.
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> Anonymizing the account is going to have the same effect from the spammer's
> point of view - they won't be able to use the account.
True. The real annoyance is having to delete every single review by hand.
Assignee | ||
Comment 3•16 years ago
|
||
Another place with unresolved foreign key dependencies -- I'll fix it in 5.4.
Assignee: nobody → fwenzel
Status: NEW → ASSIGNED
Reporter | ||
Comment 5•16 years ago
|
||
Another test case, if you need it: https://addons.mozilla.org/en-US/firefox/user/5035218
Comment 6•16 years ago
|
||
Comment on attachment 414526 [details] [diff] [review]
Patch, rev. 1
This is a perfect example of why I always rely on German engineering.
Attachment #414526 -
Flags: review?(jbalogh) → review+
Reporter | ||
Comment 7•16 years ago
|
||
Removing the reviews from the editor moderation tools made it possible to remove the users (sorry for removing the test cases).
As I mentioned to wenzel, removing the reviews directly wasn't possible either. I don't know if this patch fixes the problem entirely, but we should open a new bug if it doesn't.
Assignee | ||
Comment 8•16 years ago
|
||
(In reply to comment #7)
> As I mentioned to wenzel, removing the reviews directly wasn't possible either.
> I don't know if this patch fixes the problem entirely, but we should open a new
> bug if it doesn't.
Please do.
Assignee | ||
Comment 9•16 years ago
|
||
Reporter | ||
Comment 10•16 years ago
|
||
(In reply to comment #8)
> (In reply to comment #7)
> > As I mentioned to wenzel, removing the reviews directly wasn't possible either.
> > I don't know if this patch fixes the problem entirely, but we should open a new
> > bug if it doesn't.
>
> Please do.
See bug 531149.
Verified FIXED on https://preview.addons.mozilla.org/en-US/admin/users
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Keywords: push-needed
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•