Skip to content
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

Closed
doctrinebot opened this issue Sep 17, 2010 · 7 comments

Comments

@doctrinebot
Copy link

Jira issue originally created by user @jwage:

More information coming soon. Attaching a test case

@doctrinebot
Copy link
Author

Comment created by @beberlei:

From reading the issue i know what the bug is, indeed this sucks.

@doctrinebot
Copy link
Author

Comment created by romanb:

@jon: Any more information coming?

@benjamin: Can you summarize the essence of the issue shortly?

@doctrinebot
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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 doctrinebot added this to the 2.x milestone Dec 6, 2015
@doctrinebot
Copy link
Author

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

@Ocramius Ocramius removed this from the 2.x milestone Jan 12, 2017
@Majkl578
Copy link
Contributor

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

@Majkl578 Majkl578 self-assigned this Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants