[TYPO3-v4] typo3/class.browse_links.php not autoloadable - bug or feature?

Christian Kuhn lolli at schwarzbu.ch
Tue Jan 18 00:49:48 CET 2011


Hey.

On 01/17/2011 11:57 PM, Steffen Gebert wrote:
>> As you maybe know DAM extends typo3/class.browse_links.php. Until TYPO3
>> 4.4 we didn't need a require_once for that file as some magic (possibly
>> called autoloader) took care of that.
>>
>> In TYPO3 4.5 there is an explicit call needed.
>>
>> Is that a bug or is it normal behaviour? Maybe someone more actively
>> involved in 4.5 has an answer to that - then we know if we should "fix"
>> it in DAM or not.
>
> I see no reason.. it's neither in 4.4's, nor in 4.5's core_autoload.php
>
> Maybe it was automatically included somewhere else before?

browse_links.php is one of the 'step-in' points of typo3 which doesn't 
require the usual 'init.php' or 'index_ts.php' boostrap. It is not used 
in usual TYPO3 context, that's why it can not (and imho should not) be 
autoloaded.

I think we should get rid of *all* secondary boostrap code in the long 
run and use exactly *one* dispatcher. Thus, I'd say: Don't change it for 
4.5 and see if we can come up with a general solution for the next versions.

Regards
Christian


More information about the TYPO3-project-v4 mailing list