[BUGFIX] Instantiate new classes in typo3/* files 56/17656/2
authorFrancois Suter <francois@typo3.org>
Tue, 22 Jan 2013 13:11:33 +0000 (14:11 +0100)
committerFrancois Suter <francois@typo3.org>
Tue, 22 Jan 2013 15:48:39 +0000 (16:48 +0100)
Most typo3/*.php files instantiate the new controllers, but some have
been forgotten. This doesn't break the backend thanks to the legacy
classes mapping, but breaks the XCLASSing mechanism.

Resolves: #44718
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17650
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Change-Id: Ide89f4053d8cdbdebda638d53bb41269078f4c57
Reviewed-on: https://review.typo3.org/17656
Reviewed-by: Francois Suter
Tested-by: Francois Suter
typo3/tce_db.php
typo3/wizard_add.php
typo3/wizard_colorpicker.php
typo3/wizard_edit.php
typo3/wizard_forms.php
typo3/wizard_list.php
typo3/wizard_rte.php
typo3/wizard_table.php
typo3/wizard_tsconfig.php

index ae871d4..7e24caa 100644 (file)
@@ -41,7 +41,7 @@ require 'init.php';
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/SimpleDataHandlerController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_tce_db');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\SimpleDataHandlerController');
 $SOBE->init();
 // Include files?
 foreach ($SOBE->include_once as $INC_FILE) {
index b9ce3ae..8f048e1 100644 (file)
@@ -41,7 +41,7 @@ $LANG->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/AddController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_add');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\AddController');
 $SOBE->init();
 // Include files?
 foreach ($SOBE->include_once as $INC_FILE) {
index a00d4bf..8df8093 100644 (file)
@@ -43,7 +43,7 @@ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/ColorpickerController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_colorpicker');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\ColorpickerController');
 $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();
index 4c3079b..265b7d9 100644 (file)
@@ -41,7 +41,7 @@ $LANG->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/EditController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_edit');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\EditController');
 $SOBE->init();
 $SOBE->main();
 ?>
\ No newline at end of file
index 453baf7..57e73b9 100644 (file)
@@ -42,7 +42,7 @@ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/FormsController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_forms');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\FormsController');
 $SOBE->init();
 // Include files?
 foreach ($SOBE->include_once as $INC_FILE) {
index 3a192ca..55cb856 100644 (file)
@@ -42,7 +42,7 @@ $LANG->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/ListController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_list');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\ListController');
 $SOBE->init();
 $SOBE->main();
 ?>
\ No newline at end of file
index 410bf92..6ae7e9d 100644 (file)
@@ -43,7 +43,7 @@ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/RteController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_rte');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\RteController');
 $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();
index 55da451..1ae4d5c 100644 (file)
@@ -43,7 +43,7 @@ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_wizards.xml');
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/TableController.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_table');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\TableController');
 $SOBE->init();
 // Include files?
 foreach ($SOBE->include_once as $INC_FILE) {
index 52cfad5..6ee0a82 100644 (file)
@@ -62,7 +62,7 @@ class ext_TSparser extends t3lib_tsparser_ext {
  */
 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Wizard/TsconfigWizard.php';
 // Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('SC_wizard_tsconfig');
+$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Wizard\\TsconfigWizard');
 $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();