Issue Type: Bug Created: 2012-03-13T17:34:31.000+0000 Last Updated: 2012-06-06T11:59:01.000+0000 Status: Resolved Fix version(s): Reporter: Guillaume Métayer (willy0275) Assignee: Ralph Schindler (ralph) Tags: - Zend\Db
Related issues: Attachments:
In Zend\Db\TableGateway\AbstractTableGateway.php, we are not calling the parent constructor with the necessary parameters, so the adapter is never passed to the parent class. The constructor will fail if $this->databaseSchema has not been set in the $this->setup() method because $this->initialize() will get called, which in turn calls $this->adapter->getDefaultSchema(), which will fail because $this->adapter was never set. (because we are not calling the parent constructor properly).
Posted by Maks 3w (maks3w) on 2012-06-06T11:59:01.000+0000
Since https://github.com/zendframework/zf2/pull/1312 the API has changed and there is no constructor in AbstractTableGateway
Have you found an issue?
See the Overview section for more details.