mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #1521] [DDC-2922] Error when new entities are reachable through multiple paths but not all of them are marked cascade-persist #9580
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?
Original Pull Request: https://github.com/doctrine/orm/pull/1521
State: closed
Merged: No
Issue first-reported in DDC-2922.
As explained in the test-case, it seems to hinge on the "valid path" stemming a non-new object, so it's important that
CmsEmailis flushed before the other things happen. If everything occurs together, the problem doesn't surface.Note that I've made a small but essential cascade-persist change to
CmsEmailin order to show the problem, but this change to the fixtures may or may not be desirable in the long-run.