Skip to content

Loading…

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

Open
doctrinebot opened this Issue · 6 comments

1 participant

@doctrinebot

Jira issue originally created by user @jwage:

More information coming soon. Attaching a test case

@doctrinebot

Comment created by @beberlei:

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

@doctrinebot

Comment created by romanb:

@Jon: Any more information coming?

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

@doctrinebot

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

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.