[BUGFIX] LocalConfiguration cleanup breaks install process 65/21765/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 1 Jul 2013 12:25:49 +0000 (14:25 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 1 Jul 2013 13:00:02 +0000 (15:00 +0200)
The method to kick out obsolete settings from LocalConfiguration
in the install tool step installer is called too early and the file
may not exist already. Move the method call below step one of the
installation process that creates the file.

Change-Id: If3d824b6488c7cebfdef2a5b122aea9d47424983
Resolves: #49540
Related: #49299
Reviewed-on: https://review.typo3.org/21765
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/Controller/StepController.php

index 544f676..d37f90b 100644 (file)
@@ -102,8 +102,8 @@ class StepController extends AbstractController {
                $this->outputInstallToolNotEnabledMessageIfNeeded();
                $this->migrateLocalconfToLocalConfigurationIfNeeded();
                $this->outputInstallToolPasswordNotSetMessageIfNeeded();
-               $this->removeObsoleteLocalConfigurationSettings();
                $this->executeOrOutputFirstInstallStepIfNeeded();
+               $this->removeObsoleteLocalConfigurationSettings();
                $this->generateEncryptionKeyIfNeeded();
                $this->initializeSession();
                $this->checkSessionToken();