#1432: Doctrine2 database adapters won't trigger connect() on getResource() call
----------------------+-----------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.7
Component: database | Version: 1.0.6
Severity: minor | Keywords:
Has_patch: 0 |
----------------------+-----------------------------------------------------
Both the DBAL and the ORM adapter do something like (not similar in both
cases):
{{{
return $this->connection->getWrappedConnection();
}}}
That won't work if {{{connect()}}} hasn't been called yet, so... gotta use
{{{getConnection()}}} there instead of accessing the property directly.
--
Ticket URL: <http://trac.agavi.org/ticket/1432>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets