ZF-7713: Autoloader-related regression in Zend_Application_Bootstrap_BootstrapAbstract

Issue Type: Bug Created: 2009-08-28T07:34:43.000+0000 Last Updated: 2009-08-28T08:09:35.000+0000 Status: Resolved Fix version(s): Reporter: George Miroshnikov (laggyluke) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application

Related issues: Attachments:


Autoloader-related bug ZF-7224 that was fixed in 1.9.1 was later re-introduced in 1.9.2 with changeset 17801. Please re-apply patch from ZF-7224 to fix this.


Posted by Matthew Weier O'Phinney (matthew) on 2009-08-28T08:09:15.000+0000

We have conflicting issues and use cases happening.

On the one side, if you cannot autoload the resource, you probably don't want include warnings. However, if we don't allow autoloading, then we run into issues where documented use cases fail.

I think at this point, the onus is on the developer to properly setup their autoloader and bootstrapping environment.

We already have several ways you can avoid this: * Don't use the autoloader as a fallback autoloader. Register your class namespaces with the default autoloader. * If you must use the autoloader as a fallback autoloader, you can suppress warnings on it (setSuppressWarnings(true)) * Use the full class name of an autoloadable resource when specifying the resource * Setup prefix paths in your autoloader that mirror autoloadable resources

Have you found an issue?

See the Overview section for more details.


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

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