[BUGFIX] Use correct class names for task manager registrations and links 11/41711/5
authorDaniel Goerz <ervaude@gmail.com>
Sun, 19 Jul 2015 19:31:59 +0000 (21:31 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Jul 2015 17:49:01 +0000 (19:49 +0200)
Change-Id: Ic695053e1dc7fd2bc8621ff160c3b9dd939a7025
Resolves: #68370
Releases: master
Reviewed-on: http://review.typo3.org/41711
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/impexp/Classes/Task/ImportExportTask.php
typo3/sysext/impexp/ext_tables.php
typo3/sysext/sys_action/Classes/ActionTask.php
typo3/sysext/sys_action/ext_tables.php

index ef54093..ecb72d5 100644 (file)
@@ -128,7 +128,7 @@ class ImportExportTask implements \TYPO3\CMS\Taskcenter\TaskInterface {
                                                'icon' => $icon,
                                                'title' => $title,
                                                'descriptionHtml' => implode('<br />', $description),
-                                               'link' => BackendUtility::getModuleUrl('user_task') . '&SET[function]=impexp.tx_impexp_task&display=' . $presetCfg['uid']
+                                               'link' => BackendUtility::getModuleUrl('user_task') . '&SET[function]=impexp.TYPO3\\CMS\\Impexp\\Task\\ImportExportTask&display=' . $presetCfg['uid']
                                        );
                                }
                                // Render preset list
index 4d2f0da..e7a9f0a 100644 (file)
@@ -5,7 +5,7 @@ if (TYPO3_MODE === 'BE') {
        $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
                'name' => \TYPO3\CMS\Impexp\Clickmenu::class,
        );
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['tx_impexp_task'] = array(
+       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['TYPO3\\CMS\\Impexp\\Task\\ImportExportTask'] = array(
                'title' => 'LLL:EXT:impexp/Resources/Private/Language/locallang_csh.xlf:.alttitle',
                'description' => 'LLL:EXT:impexp/Resources/Private/Language/locallang_csh.xlf:.description',
                'icon' => 'EXT:impexp/Resources/Public/Images/export.gif'
index bcefd6a..cf04c43 100644 (file)
@@ -171,7 +171,7 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface {
                                'title' => $actionRow['title'],
                                'description' => $actionRow['description'],
                                'descriptionHtml' => nl2br(htmlspecialchars($actionRow['description'])) . $editActionLink,
-                               'link' => $this->moduleUrl . '&SET[function]=sys_action.tx_sysaction_task&show=' . $actionRow['uid']
+                               'link' => $this->moduleUrl . '&SET[function]=sys_action.TYPO3\\CMS\\SysAction\\ActionTask&show=' . $actionRow['uid']
                        );
                }
                $this->getDatabaseConnection()->sql_free_result($res);
@@ -398,7 +398,7 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface {
                        $username .= ' (' . $realName . ')';
                }
                // Link to update the user record
-               $href = $this->moduleUrl . '&SET[function]=sys_action.tx_sysaction_task&show=' . (int)$sysActionUid . '&be_users_uid=' . (int)$userId;
+               $href = $this->moduleUrl . '&SET[function]=sys_action.TYPO3\\CMS\\SysAction\\ActionTask&show=' . (int)$sysActionUid . '&be_users_uid=' . (int)$userId;
                $link = '<a href="' . htmlspecialchars($href) . '">' . htmlspecialchars($username) . '</a>';
                // Link to delete the user record
                $onClick = ' onClick="return confirm(' . GeneralUtility::quoteJSvalue($this->getLanguageService()->getLL('lDelete_warning')) . ');"';
index 5a4e2df..2bd2639 100644 (file)
@@ -3,7 +3,7 @@ defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_action', 'EXT:sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf');
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array(
+       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['TYPO3\\CMS\\SysAction\\ActionTask'] = array(
                'title' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action',
                'description' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_csh_sysaction.xlf:.description',
                'icon' => 'EXT:sys_action/Resources/Public/Images/x-sys_action.png'