Issue Feature Closed

#37180Extjs shall not overwrite $GLOBALS['error']

Franz Holzinger 05/15/12, 12:05 updated 10/02/18, 12:42

Description

The file ‘t3lib/extjs/class.t3lib_extjs_extdirectrouter.php’ overwrites the global error variable.

public function route($ajaxParams, TYPO3AJAX $ajaxObj) {
$GLOBALS[‘error’] = t3lib_div::makeInstance(‘t3lib_extjs_ExtDirectDebug’);

This leads to a collision with other debug extensions which use the $GLOBALS[‘error’]. It should better check if this variable has already been set by another extension and not overwrite it.

Reviews 1