[TYPO3-core] RFC #13604: Bug: Concept of registering extbase BE modules causes massive php warnings with php version >= 5.3

Marc Bastian Heinrichs typo3 at mbh-web.de
Tue May 25 22:59:41 CEST 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13604

Branches:
TYPO3_4-3 & trunk

Problem:
The extbase backend module dispatcher and extbase modules are registered 
as values of the global array $TBE_MODULES.
Class t3lib_loadmodules expects that the values of this array are 
strings (commaseparated lists of submodules).
The dispatcher and the extbase modules add values of the type array to 
this array, which causes massive php warnings.

Solution:
unset $TBE_MODULES['_dispatcher'] and use an special array key for the 
extbase modules, which could also be unset in t3lib_loadmodules as it is 
done with $TBE_MODULES['_PATH'].

Notes:
Correponding issue in extbase tracker
http://forge.typo3.org/issues/show/7180
Jochen will take care to apply the extbase patch right after the core 
patch was applied.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13604.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100525/4e71a218/attachment-0001.asc>


More information about the TYPO3-team-core mailing list