mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3363: "The EntityManager is closed." after insert error. #4160
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 @doctrinebot on GitHub (Oct 25, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user xawiers:
If flush will generate error - all other flush operations will end with error: "The EntityManager is closed.".
Internet says that recreating EM is almost imposible without using own EM management code.
WHY i have to code EM management code to use EM? It's Doctrine's task to manage EM.
I just want to use try catch and process errors - Closing and opening connections it's Doctrine's task.
This task (reopen connection) should be done by Doctrine.
@doctrinebot commented on GitHub (Oct 25, 2014):
@doctrinebot commented on GitHub (Nov 5, 2014):
Issue was closed with resolution "Invalid"