ZF2-1: Zend\Db\Db on line 253 prints a string instead of throwing a proper exception

Issue Type: Bug Created: 2010-12-09T04:05:38.000+0000 Last Updated: 2011-06-07T15:26:20.000+0000 Status: Resolved Fix version(s): Reporter: Alexander Thomas (fanatique) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend\Db

Related issues: Attachments:


On line 253 in Zend\Db\Db the string "FAILED TO FIND $adapterName\n"; is printed.

Afterwards the execution is stopped although it should throw a Zend\Db\Adapter\Exception to enable handling this error properly.


Posted by Satoru Yoshida (satoruyoshida) on 2011-04-28T16:11:11.000+0000

I can not find the string commented in trunk.

Posted by Alexander Thomas (fanatique) on 2011-04-28T17:27:30.000+0000

I just double checked that the problem still exists in the repository.

Maybe I should point out that this ticket refers to ZF2 (therefore it is set to "affects next major release")?

Posted by Satoru Yoshida (satoruyoshida) on 2011-04-29T03:56:25.000+0000

Hi, Alexsander. Do you mean the string "FAILED TO FIND" exists in… ?

I will be happy if You would tell me using version and exactly file name in your environment.

Posted by Kazusuke Sasezaki (sasezaki) on 2011-06-07T15:26:20.000+0000

(FYI) Ralph changed this issue 05/May/11.(please see this issue's History page). and, he is working for refactoring Zend\Db. exactly, This issue will be closed when refactored Zend\Db is merged.

Have you found an issue?

See the Overview section for more details.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.