mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Entity Manager does not configure persists operation after create it #5330
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrescevp on GitHub (Nov 17, 2016).
Originally assigned to: @Ocramius on GitHub.
Hello people.
I have the follow issue:
the code:
The exception:
Some idea?
Thanks!
@Ocramius commented on GitHub (Nov 17, 2016):
That's because you probably have an entity managed by a different entity manager instance in the mix. You should really just clear everything and retry the entire business interaction, instead of relying on existing in-memory entities.
@Ocramius commented on GitHub (Nov 17, 2016):
Closing, since this is not an ORM issue, but a question.
@andrescevp commented on GitHub (Nov 18, 2016):
@Ocramius right, there is the issue, thanks for the support 👍