Issue Bug Rejected

#31799Extbase dispatcher registration causes PHP warning in t3lib_loadModules

Marcus Krause 11/14/11, 14:34 updated 03/25/12, 15:26

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).

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.