[TYPO3-core] 6.2-git: compatibility with 4.x

Christian Weiske christian.weiske at netresearch.de
Fri Aug 9 11:59:41 CEST 2013


Hello Jigal,


> > The directory and its contents
> >> typo3/sysext/cms/tslib/interfaces/
> > is missing in typo3 core master currently. It exists in 4.5 and 4.7
> > and 6.1.
> 
> Correct. Those files were deprecated in 6.0 and scheduled to be
> removed in 6.2 (as shown in each of those files in 6.0 and 6.1).
> They were only useful for explicit require/include statements. These 
> explicit includes can not be used in 6.2; your code must rely on the 
> autoloader (that is already working since 4.3 if I remember
> correctly) and extensions must proved an ext_autoload.php file for
> the autoloader (if they can't be loaded by convention).

The autoloader does not work in 4.7.14 for the interface
> tslib_menu_filterMenuPagesHook

I get:
>  Fatal error: Interface 'tslib_menu_filterMenuPagesHook' not found
> in /.../typo3conf/ext/contexts/Classes/Service/Page.php on line 35

Maybe the autoloader works for normal classes only, but not for
interfaces?

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-



More information about the TYPO3-team-core mailing list