Project

General

Profile

Actions

Bug #21177

closed

Install Tool Crashes on "Update Wizard"

Added by Michael Knoll over 14 years ago. Updated almost 14 years ago.

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

0%

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

Description

The install tool crashes when I click on "update wizard" after having changed from 4.2.8 to 4.3 Beta1. The following error message occurs:

tx_jsmanager_Exception
extjs already registered in tx_jsmanager_Manager::$registryArr

(issue imported from #M12104)

Actions #1

Updated by Michael Knoll over 14 years ago

Here is a possible solution: Change the following lines in all JSManager Extensions that register any JS Libraries to JSManager extension:

if (!defined('TYPO3_MODE')) {
die('Access denied.');
}

require_once(t3lib_extMgm::extPath('extjs', 'class.tx_extjs.php'));
try {
tx_jsmanager_Manager::register(new tx_extjs());
} catch(Exception $e) {

}
?>

The error occurs because extjs is registered twice!

Actions #2

Updated by Chris topher almost 14 years ago

TYPO3 cannot check for all kinds of different extensions. Instead the extension should prevent such errors.

But as I read on the homepage of this extension, its function is already available in TYPO3 4.3 and newer by default.
See http://forge.typo3.org/projects/show/extension-jsmanager

Also the bug has been reported there
http://forge.typo3.org/issues/show/3422
but won't be fixed because of the reason above.

Actions

Also available in: Atom PDF