Closed
Bug 590019
Opened 15 years ago
Closed 15 years ago
Traceback trying to delete
Categories
(addons.mozilla.org Graveyard :: Collections, defect)
addons.mozilla.org Graveyard
Collections
Tracking
(Not tracked)
VERIFIED
FIXED
5.11.9
People
(Reporter: stephend, Assigned: jbalogh)
References
()
Details
Got a traceback trying to delete https://preview.addons.mozilla.org/z/en-US/firefox/collections/stephend/dafaf323-47bc-925d-be00-c3bf0a/delete
Assignee | ||
Comment 1•15 years ago
|
||
File "/data/amo_python/www/preview/zamboni/apps/bandwagon/views.py", line 426, in delete
collection.delete()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/base.py", line 639, in delete
delete_objects(seen_objs, using)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 1326, in delete_objects
update_query.clear_related(field, pk_list, using=using)
[...]
File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`addons_reskin/collection_addon_recommendations`, CONSTRAINT `collection_addon_recommendations_ibfk_1` FOREIGN KEY (`collection_id`) REFERENCES `collections` (`id`) ON DELETE CASCADE)')
Target Milestone: --- → 5.11.9
Assignee | ||
Comment 2•15 years ago
|
||
Assignee: nobody → jbalogh
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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
•