DDC-810: Issue with detaching entities and updating when using change notification #998

Closed
opened 2026-01-22 12:58:25 +01:00 by admin · 7 comments
Owner

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

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
admin added the ImprovementWon't Fix labels 2026-01-22 12:58:25 +01:00
admin closed this issue 2026-01-22 12:58:26 +01:00
Author
Owner

@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 20, 2010): Comment created by @beberlei: From reading the issue i know what the bug is, indeed this sucks.
Author
Owner

@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 28, 2010): Comment created by romanb: @Jon: Any more information coming? @Benjamin: Can you summarize the essence of the issue shortly?
Author
Owner

@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 (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.
Author
Owner

@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 (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.
Author
Owner

@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 (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.
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/1d8a9f8dbe72a8e8f015

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/1d8a9f8dbe72a8e8f015 - [10804_DDC810Test.php](https://gist.github.com/1d8a9f8dbe72a8e8f015#file-10804_DDC810Test-php)
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#998