#1427: Database Manager returns closed Doctrine 2 EntityManager after PDO
Exception
-------------------------------+--------------------------------------------
Reporter: mr.hash@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.7
Component: database | Version: 1.0.6
Severity: normal | Keywords:
Has_patch: 0 |
-------------------------------+--------------------------------------------
Comment(by david):
Creating a new one will work, but it will not be okay. The objects you
were trying to persist might be in an inconsistent state, and they will
probably not reflect what is in your database.
If Agavi now silently re-creates the Entity Manager, you potentially end
up with data loss or some other screw-up that absolutely must be avoided.
--
Ticket URL: <http://trac.agavi.org/ticket/1427#comment:6>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets