mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3965: UnitOfWork->doDetach() does not support entities with state STATE_REMOVED #4844
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 (Oct 29, 2015).
Originally assigned to: @Majkl578 on GitHub.
Jira issue originally created by user wojciech@3wdt.com:
UnitOfWork->doDetach() does not support entities with state STATE_REMOVED, although documentation of entity manager says clearly:
"Changes made to the detached entity, if any (including removal of the entity), will not be synchronized to the database after the entity has been detached.".
@Majkl578 commented on GitHub (Dec 20, 2017):
Merge/detach are going to be removed in Doctrine 3.0.