-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDC-810: Issue with detaching entities and updating when using change notification #5328
Comments
Comment created by @beberlei: From reading the issue i know what the bug is, indeed this sucks. |
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. |
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. |
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. |
Imported 1 attachments from Jira into https://gist.github.com/1d8a9f8dbe72a8e8f015 |
Merge/detach are going to be removed in Doctrine 3.0. |
Jira issue originally created by user @jwage:
More information coming soon. Attaching a test case
The text was updated successfully, but these errors were encountered: