Project

General

Profile

Actions

Bug #22154

closed

PHP Warning from t3lib_loadmodules after installing extbase, because $TBE_MODULES['_dispatcher'] is not unset.

Added by Marc Bastian Heinrichs almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-02-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

An mechanism was introduced in typo3/mod.php to use external dispatcher for backend modules based on extbase.
These dispatchers are registered in $TBE_MODULES['_dispatcher'] as values of an array,
but in line 541 ($subsArr = t3lib_div::trimExplode(',', $subs) ) in function parseModulesArray it is expected, that $TBE_MODULES['_dispatcher'] is an string.

To solve this, I think $TBE_MODULES['_dispatcher'] should not be parsed and has to be unset in t3lib_loadModules::load how it's done with $TBE_MODULES['_PATHS'].

I defined this as major bug, because with the new default error handling the syslog is full of php warnings.
(issue imported from #M13604)


Files

13604.patch (545 Bytes) 13604.patch Administrator Admin, 2010-02-23 12:50
13604_v2.patch (1.17 KB) 13604_v2.patch Administrator Admin, 2010-04-08 18:44

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #20838: Modern integration of module into backend using ExtbaseClosedJochen Rau2009-08-05

Actions
Related to TYPO3 Core - Bug #31799: Extbase dispatcher registration causes PHP warning in t3lib_loadModulesRejected2011-11-14

Actions
Actions

Also available in: Atom PDF