mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2850: Allow cascaded clearing of Entities associated to the indicated Entity #3558
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 (Dec 11, 2013).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user holtkamp:
As described here, it would be nice to have associated Entities be cleared in case required and configured in such way. It seems the functionality is available already, but always disabled (noCascade => TRUE).
A secondary optional boolean parameter to the function would do:
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L2342
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L2369
@doctrinebot commented on GitHub (Mar 30, 2014):
Comment created by holtkamp:
PR: https://github.com/doctrine/doctrine2/pull/995
Auto-created issue: http://www.doctrine-project.org/jira/browse/DDC-3060
@doctrinebot commented on GitHub (Apr 16, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-995] was closed:
https://github.com/doctrine/doctrine2/pull/995
@doctrinebot commented on GitHub (Apr 21, 2014):
Comment created by @guilhermeblanco:
As of
1cd0b26a40this issue is now fixed.@doctrinebot commented on GitHub (Apr 21, 2014):
Issue was closed with resolution "Fixed"