DDC-3965: UnitOfWork->doDetach() does not support entities with state STATE_REMOVED #4844

Closed
opened 2026-01-22 14:50:23 +01:00 by admin · 1 comment
Owner

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.".

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._".
admin added the BugWon't Fix labels 2026-01-22 14:50:23 +01:00
admin closed this issue 2026-01-22 14:50:24 +01:00
Author
Owner

@Majkl578 commented on GitHub (Dec 20, 2017):

Merge/detach are going to be removed in Doctrine 3.0.

@Majkl578 commented on GitHub (Dec 20, 2017): Merge/detach are going to be removed in Doctrine 3.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4844