#1427: Database Manager returns closed Doctrine 2 EntityManager after PDO
Exception
-------------------------------+--------------------------------------------
Reporter: mr.hash@… | Owner: david
Type: defect | Status: closed
Priority: normal | Milestone: 1.0.7
Component: database | Version: 1.0.6
Severity: normal | Resolution: wontfix
Keywords: | Has_patch: 0
-------------------------------+--------------------------------------------
Changes (by david):
* status: new => closed
* resolution: => wontfix
Comment:
You can simply call {{{shutdown()}}} on the connection to work around the
situation in userland, #1433 and [4838] fixed a few issues where some
adapters (including the Doctrine2 implementations) would not reconnect on
a subsequent {{{getConnection()}}} call.
Closing as ''wontfix'' as discussed since any automatic behavior would not
make much sense and might in fact be dangerous.
--
Ticket URL: <http://trac.agavi.org/ticket/1427#comment:13>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets