Closed
Bug 510173
Opened 17 years ago
Closed 16 years ago
Collection isn't actually removed when you delete it
Categories
(addons.mozilla.org Graveyard :: Collections, defect, P2)
addons.mozilla.org Graveyard
Collections
Tracking
(Not tracked)
VERIFIED
FIXED
5.4
People
(Reporter: nico.nelson-fodpsfst, Assigned: wenzel)
References
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
I tried to delete an abandoned collection. Here is the address: https://addons.mozilla.org/ja/firefox/collection/d63b9b73-2c34-f892-8d18-4117859ae7cc
The page is still visible after I selected delete. Please fix the problem and help me to delete this page. Thank you.
Reproducible: Didn't try
| Assignee | ||
Comment 1•17 years ago
|
||
I tried reproducing this on preview and on my dev copy but I couldn't. However, I can confirm that the collection in question still shows up, and it doesn't seem to vanish when I try to delete it. I also tried adding other users to the collection and it wouldn't save that, so it might already be deleted but cached. If that's the case, a) it'll vanish shortly and b) we should use the cache invalidation framework for collections.
I deleted it about 1-2 weeks ago. At least 1 week is passed. Does the cache keep so long?
I deleted another collection and the effect is instant so something is wrong on the deletion process which causes the above bug.
Couldn't any dev which has the permissions to manually delete it from the database?
I think I may have reproduced this problem; it seems any automatically generated collection created by Add-on Collector add-on for Firefox with the Auto-publisher feature can't be deleted. Firefox allows clicking the final Delete Collection button, but then it simply redirects to the main collections page without removing the collection.
These three collections were generated by the Auto-publisher, and do not delete properly:
https://addons.mozilla.org/en-US/firefox/collection/938a860f-30bc-9d72-9c93-0112aa20b106
https://addons.mozilla.org/en-US/firefox/collection/6be82032-799f-4a93-2c73-3c68fc16b360
https://addons.mozilla.org/en-US/firefox/collection/8c2b8eb3-c5af-4f4a-f682-255b966d1cd1
I also manually created some collections (via https://addons.mozilla.org/en-US/firefox/collections/add), but they were all successfully deleted.
I don't know if the originally reported collection was created with the Add-on Collector Auto-publisher; if not, it may be a seperate bug altogether.
Sorry to say but it's really ridiculous. I have been waiting for over three months patiently. Yes it's more than three months but no one cares to press a button manually to delete that collection:
https://addons.mozilla.org/ja/firefox/collection/d63b9b73-2c34-f892-8d18-4117859ae7cc
It's still alive. It hasn't gone away. Does Mozilla Foundation really care about people privacy? Come on guys, please help. Please, anyone who has access to the server, please kindly do me a small favour to delete this page. Thank you very much.
(In reply to comment #3)
No, the collection isn't created by Collector Auto-publisher. It's created via the webpage.
There are at least 2 bugs which affect the deletion process so it fails sometimes. Perhaps Mozilla should add a checking process to make sure the deleted page is really deleted. If not delete it again.
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Priority: -- → P3
Hardware: x86 → All
Target Milestone: --- → 5.4
Comment 6•17 years ago
|
||
Hey wenzel, can you write some SQL to delete Nelson's collection in this release and then we can look into the larger problem in a later release?
Assignee: nobody → fwenzel
| Assignee | ||
Comment 7•17 years ago
|
||
Yup, will do.
| Assignee | ||
Comment 8•17 years ago
|
||
Apparently, someone added a foreign key constraint referring to `stats_addons_collections_counts` and did not bother resolving it when a collection is deleted. Actually, there are even more: stats_collections and stats_collections_counts as well.
Is it fine when I delete all associated stats when removing a collection? If so, I'll make a patch.
| Assignee | ||
Comment 9•17 years ago
|
||
Since this affects all collections, -> major.
Severity: normal → major
Priority: P3 → P2
| Assignee | ||
Comment 10•17 years ago
|
||
Here you go: By also deleting the associated stats entries, the foreign key conflicts are resolved.
I'll also CC fligtar, so we are aware of the global stats impact this might have.
Attachment #414492 -
Flags: review?(clouserw)
| Assignee | ||
Updated•17 years ago
|
Attachment #414492 -
Flags: review?(fligtar)
| Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Comment 11•17 years ago
|
||
wfm
Comment 12•17 years ago
|
||
Comment on attachment 414492 [details] [diff] [review]
Patch, rev. 1
Thanks
Attachment #414492 -
Flags: review?(clouserw) → review+
Comment 13•17 years ago
|
||
(In reply to comment #11)
> wfm
Fligtar is boycotting the review flags these days
| Assignee | ||
Comment 14•17 years ago
|
||
Comment on attachment 414492 [details] [diff] [review]
Patch, rev. 1
editbug privileges to the rescue
Attachment #414492 -
Flags: review?(fligtar) → review+
| Assignee | ||
Comment 15•17 years ago
|
||
(In reply to comment #14)
> (From update of attachment 414492 [details] [diff] [review])
> editbug privileges to the rescue
uhm, that didn't work as intended. meh.
Anyhow: r56850 and r56851.
Hrm, I hope this isn't caching (guess I'll know for certain in a little while, huh?), but I still can't delete three of my collections.
Here's a screencast: http://screencast.com/t/NGU5YjZiZmY
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 18•16 years ago
|
||
That regressed in bug 509078. I'll poke jbalogh.
Depends on: 509078
| Assignee | ||
Updated•16 years ago
|
Summary: Collection doesn't actually removed when you delete it → Collection isn't actually removed when you delete it
| Assignee | ||
Comment 19•16 years ago
|
||
Jeff says, this is fixed now. Please re-check on preview, Stephen! :)
Status: REOPENED → RESOLVED
Closed: 17 years ago → 16 years ago
Resolution: --- → FIXED
Verified FIXED on https://preview.addons.mozilla.org/en-US/firefox/collections/mine.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Keywords: push-needed
Updated•10 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
•