[TYPO3-mvc] ext_autoload.php requirements?

Jochen Rau jochen.rau at lists.typo3.org
Fri Oct 22 19:19:58 CEST 2010


Hi Dennis.

On 2010-10-20, Dennis Ahrens <dennis.ahrens at googlemail.com> wrote:
> Franz Koch wrote:
>> AFAIK you don't need it. Extbase is registering it's own autoloader in 
>> parallel to TYPO3s and thus extbase based extensions (due to their 
>> strict naming conventions) don't need ext_autoload.php.
>
> There is only the side effect, that the core autoloader spams the syslog 
> with "Unable to autoload class 'xyz'" if the classes are not registered 
> in ext_autoload.php.

You are right. IMO this is an issue with the core autoloader. It should not
write a log message if another autoloader (eg the extbase autoloader) was able
to load the class. The message "Unable to autoload ..." is misleading here.

Regards
Jochen



-- 
Every nit picked is a bug fixed


More information about the TYPO3-project-typo3v4mvc mailing list