Bug #49722
closedEM: Exception if uninstalling an extension if other installed extensions depend on it
100%
Description
The EM crashes in an uncaught exception if static_info_tables is uninstalled.
Uncaught TYPO3 Exception
#1342554622: Cannot deactivate extension static_info_tables - The extension(s) party,sr_feuser_register depend on it (More information)
TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file
/var/www/html/typo3_src-6.1.1/typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php in line 156.
10 TYPO3\CMS\Extensionmanager\Utility\InstallUtility::uninstall("static_info_tables")
/var/www/html/typo3_src-6.1.1/typo3/sysext/extensionmanager/Classes/Controller/ActionController.php:
00080: if (in_array($extension, $installedExtensions)) {
00081: // uninstall
00082: $this->installUtility->uninstall($extension);
00083: } else {
00084: // install
9 TYPO3\CMS\Extensionmanager\Controller\ActionController::toggleExtensionInstallationStateAction("static_info_tables")
8 call_user_func_array(array, array)
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00275: $validationResult = $this->arguments->getValidationResults();
00276: if (!$validationResult->hasErrors()) {
00277: $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments);
00278: } else {
00279: $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);
7 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod()
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00177: $this->initializeView($this->view);
00178: }
00179: $this->callActionMethod();
00180: }
00181:
6 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:
00098: $controller = $this->resolveController($request);
00099: try {
00100: $controller->processRequest($request, $response);
00101: } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00102: }
5 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php:
00045: /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00046: $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response');
00047: $this->dispatcher->dispatch($request, $response);
00048: return $response;
00049: }
4 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest()
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00206: $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00207:
00208: $response = $requestHandler->handleRequest();
00209: // If response is NULL after handling the request we need to stop
00210: // This happens for instance, when a USER object was converted to a USER_INT
3 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest()
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00195: public function run($content, $configuration) {
00196: $this->initialize($configuration);
00197: return $this->handleRequest();
00198: }
00199:
2 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
/var/www/html/typo3_src-6.1.1/typo3/sysext/extbase/Classes/Core/ModuleRunner.php:
00079:
00080: $bootstrap = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Core\\BootstrapInterface');
00081: $content = $bootstrap->run('', $configuration);
00082: print $content;
00083:
1 TYPO3\CMS\Extbase\Core\ModuleRunner::callModule("tools_ExtensionmanagerExtensionmanager")
/var/www/html/typo3_src-6.1.1/typo3/mod.php:
00045: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) {
00046: $dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get($dispatcherClassName);
00047: if ($dispatcher->callModule($temp_M) === TRUE) {
00048: $isDispatched = TRUE;
00049: break;
Updated by Christian Kuhn over 11 years ago
- Subject changed from EM: Uncaught TYPO3 Exception if you uninstall static_info_tables to EM: Exception if uninstalling an extension if other installed extensions depend on it
Yeah, that happens if some other extension is installed that has a dependency to static_info_tables. In this case currently em detects the conflict and throws the exception, but does not render a happy little error message.
Updated by Gerrit Code Review over 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22162
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22162
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/22578
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/22579
Updated by Wouter Wolters over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c3b6d0c45e01cb215bd6647a41253e5c210c6ab1.