Actions
Bug #31799
closedExtbase dispatcher registration causes PHP warning in t3lib_loadModules
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-11-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Class t3lib_loadModules parses TBE_MODULES (BE modules) and applies various checks on the BE modules.
The TBE_MODULES is an array of key-value pairs; the value being a comma-separated list of submodules.
The Extbase dispatcher registration however looks like this:
$TBE_MODULES['_dispatcher'][] = 'Tx_Extbase_Dispatcher';
and such TBE_MODULES value is an array.
This causes a PHP warning in t3lib_loadModules::parseModulesArray() (expects string only).
Solution is to remove dispatcher part before passing TBE_MODULES to t3lib_loadModules::parseModulesArray().
This has been done on May 27, 2010 with #M13604 for TYPO3 4.4+ (leaving 4.3 aside).
Actions