mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-810: Issue with detaching entities and updating when using change notification #998
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 (Sep 17, 2010).
Originally assigned to: @Majkl578 on GitHub.
Jira issue originally created by user @jwage:
More information coming soon. Attaching a test case
@doctrinebot commented on GitHub (Sep 20, 2010):
Comment created by @beberlei:
From reading the issue i know what the bug is, indeed this sucks.
@doctrinebot commented on GitHub (Sep 28, 2010):
Comment created by romanb:
@Jon: Any more information coming?
@Benjamin: Can you summarize the essence of the issue shortly?
@doctrinebot commented on GitHub (Sep 29, 2010):
Comment created by @beberlei:
@Roman: The UnitOfWork (may) still be pushed as a listener into that entity, and still recieve noticies of update. Which may throw notices because the oid hashes are removed everywhere. Additionally you cant serialize the thing because you still got the UoW inside there.
@doctrinebot commented on GitHub (Oct 4, 2010):
Comment created by @jwage:
I don't have anymore information currently. The issue was relayed to me. I will try and find some more information and report back.
@doctrinebot commented on GitHub (Apr 3, 2011):
Comment created by @beberlei:
There is no way to "fix" this issue, i am turning it into a feature request. There needs to be a "postDetach" event that is triggered where the developer can detach the change notification objects.
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/1d8a9f8dbe72a8e8f015
@Majkl578 commented on GitHub (Dec 20, 2017):
Merge/detach are going to be removed in Doctrine 3.0.