mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2524: Wrong commit order with cascade remove and double association #3166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jun 24, 2013).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user mnapoli:
We have stumbled upon a bug in a situation where a class A has the following associations to a class B:
Associations are with cascade remove.
We will submit a PR soon with a failing test case.
The failure is a MySQL foreign key violation exception when removing A (removals for B are executed after removals for A).