[BUGFIX] Wrong position of init 50/51550/2
authorStefan Froemken <froemken@gmail.com>
Wed, 18 Jan 2017 14:48:00 +0000 (15:48 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 6 Feb 2017 07:00:06 +0000 (08:00 +0100)
As storeIncomingData depends on some data,
which is generated in init, the init method
has to be called before.

Resolves: #79374
Releases: master, 7.6
Change-Id: I55e9f1317db83205b3a9ad0105eb8b493203ced7
Reviewed-on: https://review.typo3.org/51550
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php

index 1984435..daea46c 100644 (file)
@@ -423,8 +423,8 @@ class SetupModuleController extends AbstractModule
     {
         $GLOBALS['SOBE'] = $this;
         $this->simulateUser();
-        $this->storeIncomingData();
         $this->init();
+        $this->storeIncomingData();
         $this->main();
 
         $response->getBody()->write($this->moduleTemplate->renderContent());