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

Stanislas Rolland typo3 at sjbr.ca
Tue Jan 18 03:18:05 CET 2011


Hi Lorenz,
>
> 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 think that it is normal that if a script extends a class, it should 
require loading of the script in which the class if declared. TYPO3 4.5 
does not autoload class browse_links. Therefore the DAM script should 
require it.

Perhaps there was a "bug" in previous versions?

Regards,
Stanislas







More information about the TYPO3-project-v4 mailing list