From b2cba76bd92107261f6edc361113433bd5028843 Mon Sep 17 00:00:00 2001 From: Wouter Wolters <typo3@wouterwolters.nl> Date: Mon, 18 Apr 2016 16:06:26 +0200 Subject: [PATCH] [BUGFIX] Fix all links to Install Tool module Due to the removal of the extbase Install Tool module, some links to the Install Tool aren't working anymore. Fix this by using the new name for the module. Resolves: #75654 Releases: master Change-Id: I5edb11f877cab4ed4381ad1ab586c38ae1c7869f Reviewed-on: https://review.typo3.org/47751 Reviewed-by: Richard Haeser <richardhaeser@gmail.com> Tested-by: Richard Haeser <richardhaeser@gmail.com> Reviewed-by: Christoph Kratz <ckr@rtp.ch> Tested-by: Christoph Kratz <ckr@rtp.ch> Reviewed-by: Frans Saris <franssaris@gmail.com> Tested-by: Frans Saris <franssaris@gmail.com> --- .../Backend/ToolbarItems/SystemInformationToolbarItem.php | 2 +- .../Private/Templates/ToolbarMenu/SystemInformation.html | 4 ++-- typo3/sysext/install/Classes/Report/InstallStatusReport.php | 2 +- typo3/sysext/install/Classes/Report/SecurityStatusReport.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php b/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php index 9c385144937a..8044f4676664 100644 --- a/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php +++ b/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php @@ -375,7 +375,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface $request = $this->standaloneView->getRequest(); $request->setControllerExtensionName('backend'); $this->standaloneView->assignMultiple(array( - 'installToolUrl' => BackendUtility::getModuleUrl('system_InstallInstall'), + 'installToolUrl' => BackendUtility::getModuleUrl('system_extinstall'), 'messages' => $this->systemMessages, 'count' => $this->totalCount > $this->maximumCountInBadge ? $this->maximumCountInBadge . '+' : $this->totalCount, 'severityBadgeClass' => $this->severityBadgeClass, diff --git a/typo3/sysext/backend/Resources/Private/Templates/ToolbarMenu/SystemInformation.html b/typo3/sysext/backend/Resources/Private/Templates/ToolbarMenu/SystemInformation.html index 0e05a133b78a..3e30c45091cc 100644 --- a/typo3/sysext/backend/Resources/Private/Templates/ToolbarMenu/SystemInformation.html +++ b/typo3/sysext/backend/Resources/Private/Templates/ToolbarMenu/SystemInformation.html @@ -1,6 +1,6 @@ <ul class="dropdown-list" data-count="{count}" data-severityclass="{severityBadgeClass}"> <li class="dropdown-header"><f:translate key="systemmessage.header" /></li> - <li id="systeminformation_installtool" class="dropdown-intro typo3-module-menu-item submodule mod-system_InstallInstall" data-modulename="system_InstallInstall"> + <li id="systeminformation_installtool" class="dropdown-intro typo3-module-menu-item submodule mod-system_extinstall" data-modulename="system_extinstall"> <f:translate key="systemmessage.intro" arguments="{0: '{installToolUrl}'}" /> </li> <li> @@ -40,4 +40,4 @@ <li><span class="text-success"><f:format.nl2br><f:translate key="systemmessage.allgood" /></f:format.nl2br></span></li> </f:else> </f:if> -</ul> \ No newline at end of file +</ul> diff --git a/typo3/sysext/install/Classes/Report/InstallStatusReport.php b/typo3/sysext/install/Classes/Report/InstallStatusReport.php index 5faa15029e5f..344f54a0ecab 100644 --- a/typo3/sysext/install/Classes/Report/InstallStatusReport.php +++ b/typo3/sysext/install/Classes/Report/InstallStatusReport.php @@ -156,7 +156,7 @@ class InstallStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface // at least one wizard was found $value = $languageService->getLL('status_updateIncomplete'); $severity = Status::WARNING; - $url = BackendUtility::getModuleUrl('system_InstallInstall'); + $url = BackendUtility::getModuleUrl('system_extinstall'); $message = sprintf($languageService->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_update'), '<a href="' . htmlspecialchars($url) . '">', '</a>'); break; } diff --git a/typo3/sysext/install/Classes/Report/SecurityStatusReport.php b/typo3/sysext/install/Classes/Report/SecurityStatusReport.php index 4a39f047604d..cca4fc6bee25 100644 --- a/typo3/sysext/install/Classes/Report/SecurityStatusReport.php +++ b/typo3/sysext/install/Classes/Report/SecurityStatusReport.php @@ -61,7 +61,7 @@ class SecurityStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface if (!$validPassword) { $value = $GLOBALS['LANG']->getLL('status_insecure'); $severity = Status::ERROR; - $changeInstallToolPasswordUrl = BackendUtility::getModuleUrl('system_InstallInstall'); + $changeInstallToolPasswordUrl = BackendUtility::getModuleUrl('system_extinstall'); $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.installtool_default_password'), '<a href="' . htmlspecialchars($changeInstallToolPasswordUrl) . '">', '</a>'); } -- GitLab