mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1181: Cascade remove doesn't work properly on entities with Identity through foreign Entities #1484
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 (May 30, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user sobotka:
If a collection of associated entites is marked to cascade remove and the associated entites use Identity through foreign Entities, the remove operation fails.
It performs delete only for one associated entity from the collection. Other entites remain.
@doctrinebot commented on GitHub (Jun 5, 2011):
Comment created by @beberlei:
Works for me, do you have a relationship between room and hotel aswell maybe?
Your model seems weird to me btw, why has booking not its own id? arent customers going to demand a booking id on their invoice?
@doctrinebot commented on GitHub (Jun 5, 2011):
Comment created by @beberlei:
Testcase that shows it works attached.
@doctrinebot commented on GitHub (Jul 26, 2011):
Comment created by @beberlei:
Lowering priority as no feedback was given.
@doctrinebot commented on GitHub (Jan 21, 2012):
Comment created by @beberlei:
Not reproducable and no feedback, closing issue.
@doctrinebot commented on GitHub (Jan 21, 2012):
Issue was closed with resolution "Cannot Reproduce"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/2bbc06eee4b110b32e8a