Project

General

Profile

Actions

Bug #31799

closed

Extbase dispatcher registration causes PHP warning in t3lib_loadModules

Added by Marcus Krause about 13 years ago. Updated over 12 years ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22154: PHP Warning from t3lib_loadmodules after installing extbase, because $TBE_MODULES['_dispatcher'] is not unset.ClosedJochen Rau2010-02-22

Actions
Actions #1

Updated by Mr. Hudson about 13 years ago

  • Status changed from New to Under Review

Patch set 1 of change I971df70d12a9c44e1947d9f5a9e31b434bdc3a32 has been pushed to the review server.
It is available at http://review.typo3.org/6666

Actions #2

Updated by Steffen Gebert over 12 years ago

  • Status changed from Under Review to Rejected

no 4.3 release anymore..

Actions

Also available in: Atom PDF