-
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
Remove on a specific Entity and a subsequent find will retrieve the same entity with a Managed state #6123
Comments
@bertuz looks like a bug. Can you try reproducing it against https://github.com/doctrine/doctrine2/tree/d3f6c5ec70aac4b029a4b61ecf1e2ba61a1a4a6d/tests/Doctrine/Tests/ORM/Functional/Ticket please? (see that dir for examples) |
of course, by tomorrow |
@Ocramius I was about to add a test into |
You can call it like this issue (6123) On 10 Nov 2016 09:56, "Matteo" [email protected] wrote:
|
here you go #6126 |
Fixed by #11428 |
I don't know if it's the expected behavior, beh when removing a specific Entity, it is removed from the Identity Map. This implies that the subsequent finds within a single UoW will fetch the Entity with a 'MANAGED' state. Is this the expected behavior?
The text was updated successfully, but these errors were encountered: