ZF-6016: Zend_* ignoring my Zend_Loader::registerAutoload()

Issue Type: Bug Created: 2009-03-12T22:06:55.000+0000 Last Updated: 2009-05-14T05:43:41.000+0000 Status: Resolved Fix version(s): - 1.8.2 (27/May/09)

Reporter: Nathan Gardner (ngardner) Assignee: Matthew Weier O'Phinney (matthew) Tags: Related issues: Attachments:


In the Zend_Db_Table_Row_Abstract->findParentRow method it tries to include the $parentClass by directly calling Zend_Loader::loadClass($parentTable). I would expect it to use My_Loader as I set it with Zend_Loader::registerAutoload('My_Loader'). If we're adding stuff to the __autoload stack, we should be using it.

I would propose wrapping it in a if(!class_exists($parentClass,true)) which will autoload it based on the __autoload stack as expected.

Im Zend_Loader::loadClass() is being called all over the place without first checking the __autoload stack.


Posted by Matthew Weier O'Phinney (matthew) on 2009-05-14T05:43:40.000+0000

Resolved in trunk and 1.8 release branch.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

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