-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I can't figure out how or why it won't let me delete the root node
There is a ForeignKeyConstraintViolationException for the Doctrine entity associated with "InteroperabilityLevel". Solution: disable the "delete" action for this CRUD controller or configure the "cascade={"remove"}" attribute for the related field in the Doctrine entity. Full exception: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails
Try to add just one root node and try delete him.
I can't add cascade: ['remove'] because gedmo tree propertys are in AbstractTreeItem
Metadata
Metadata
Assignees
Labels
No labels