Project

General

Profile

Actions

Bug #77203

closed

Core Update fails if configuration presets --> Debug is set to "Debug [Active]"

Added by Thomas Candrian over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2016-07-21
Due date:
% Done:

100%

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

Description

Doing so results in almost instantly display of "General error" if you click onto "Check for core update". sending the AJAX request by hand results in following error:

Uncaught TYPO3 Exception
#1289386765: Could not analyse class: "TYPO3\CMS\Install\Controller\Action\Ajax\CoreUpdateUpdateVersionMatrix" maybe not loaded or no autoloader? PHP Warning: Declaration of TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate::injectView(TYPO3\CMS\Install\View\JsonView $view) should be compatible with TYPO3\CMS\Install\Controller\Action\AbstractAction::injectView(TYPO3\CMS\Install\View\FailsafeView $view) in /var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.php line 21 (More information)

TYPO3\CMS\Extbase\Object\Container\Exception\UnknownObjectException thrown in file
/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php in line 37.

11 TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory::buildClassInfoFromClassName("TYPO3\CMS\Install\Controller\Action\Ajax\CoreUpdateUpdateVersionMatrix")

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/extbase/Classes/Object/Container/Container.php:

00347: $classInfo = $this->getClassInfoCache()->get($classNameHash);
00348: if (!$classInfo instanceof \TYPO3\CMS\Extbase\Object\Container\ClassInfo) {

00349: $classInfo = $this->getClassInfoFactory()->buildClassInfoFromClassName($className);

00350: $this->getClassInfoCache()->set($classNameHash, $classInfo);
00351: }

10 TYPO3\CMS\Extbase\Object\Container\Container::getClassInfo("TYPO3\CMS\Install\Controller\Action\Ajax\CoreUpdateUpdateVersionMatrix")

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/extbase/Classes/Object/Container/Container.php:

00171: return $this->singletonInstances[$className];
00172: }

00173: $classInfo = $this->getClassInfo($className);

00174: $classIsSingleton = $classInfo->getIsSingleton();
00175: if (!$classIsSingleton) {

9 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Install\Controller\Action\Ajax\CoreUpdateUpdateVersionMatrix", array)

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/extbase/Classes/Object/Container/Container.php:

00124: {
00125: $this->prototypeObjectsWhichAreCurrentlyInstanciated = array();

00126: return $this->getInstanceInternal($className, $givenConstructorArguments);

00127: }
00128:

8 TYPO3\CMS\Extbase\Object\Container\Container::getInstance("TYPO3\CMS\Install\Controller\Action\Ajax\CoreUpdateUpdateVersionMatrix", array)

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/extbase/Classes/Object/ObjectManager.php:

00097: $instance = call_user_func_array(array(\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance'), $arguments);
00098: } else {

00099: $instance = $this->objectContainer->getInstance($objectName, $arguments);

00100: }
00101: return $instance;

7 TYPO3\CMS\Extbase\Object\ObjectManager::get("TYPO3\CMS\Install\Controller\Action\Ajax\CoreUpdateUpdateVersionMatrix")

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Classes/Controller/AjaxController.php:

00143: $actionClass = ucfirst($action);
00144: /** @var \TYPO3\CMS\Install\Controller\Action\ActionInterface $toolAction */

00145: $toolAction = $this->objectManager->get('TYPO3\\CMS\\Install\\Controller\\Action\\Ajax\\' . $actionClass);

00146: if (!($toolAction instanceof Action\ActionInterface)) {
00147: throw new Exception(

6 TYPO3\CMS\Install\Controller\AjaxController::dispatchAuthenticationActions()

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Classes/Controller/AjaxController.php:

00062: $this->checkSessionLifetime();
00063: $this->checkLogin();

00064: $this->dispatchAuthenticationActions();

00065: }
00066:

5 TYPO3\CMS\Install\Controller\AjaxController::execute()

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Classes/Http/RequestHandler.php:

00062: $controllerClassName = \TYPO3\CMS\Install\Controller\StepController::class;
00063: }

00064: GeneralUtility::makeInstance($controllerClassName)->execute();

00065: }
00066:

4 TYPO3\CMS\Install\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/core/Classes/Core/Bootstrap.php:

00300:
00301: // Execute the command which returns a Response object or NULL

00302: $this->response = $requestHandler->handleRequest($request);

00303: return $this;
00304: }

3 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Classes/Http/Application.php:

00072: public function run(callable $execute = null)
00073: {

00074: $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());

00075:
00076: if ($execute !== null) {

2 TYPO3\CMS\Install\Http\Application::run()

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Start/Install.php:

00106: call_user_func(function () {
00107: $classLoader = require DIR . '/../../../../vendor/autoload.php';

00108: (new \TYPO3\CMS\Install\Http\Application($classLoader))->run();

00109: });

1 {closure}()

/var/www/_Sources/typo3_src-7.6.10/typo3/sysext/install/Start/Install.php:

00107: $classLoader = require DIR . '/../../../../vendor/autoload.php';
00108: (new \TYPO3\CMS\Install\Http\Application($classLoader))->run();

00109: });

Actions

Also available in: Atom PDF