Closed Bug 590019 Opened 15 years ago Closed 15 years ago

Traceback trying to delete

Categories

(addons.mozilla.org Graveyard :: Collections, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
5.11.9

People

(Reporter: stephend, Assigned: jbalogh)

References

()

Details

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: nobody → jbalogh
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified FIXED.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.