google-code-export / django-treemenus

Automatically exported from code.google.com/p/django-treemenus
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

I get error when delete menu #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I think deleting ForeingKey from menu on MenuItem.
I added some menu. But when I want to delete it I get this error:

Exception Type: IntegrityError at /admin/menus/menu/3/delete/
Exception Value: (1451, 'Cannot delete or update a parent row: a foreign
key constraint fails (`xxx/menus_menu`, CONSTRAINT
`root_item_id_refs_id_238d2b00` FOREIGN KEY (`root_item_id`) REFERENCES
`menus_menuitem` (`id`))')

Operation system Windows XP. Python 2.5.2 and django 1.0(stable)  

Original issue reported on code.google.com by altere...@gmail.com on 18 Nov 2008 at 8:07

GoogleCodeExporter commented 9 years ago
Hi,

Sorry for the (very) long reply. Unfortunately I cannot reproduce this error. If
you're still having this issue, reopen the ticket but please try to provide more
information on how to reproduce it.

Thank you,

Julien

Original comment by jpha...@gmail.com on 1 Feb 2009 at 11:24