[BUGFIX] Heal exception in install tool if config value is missing 90/43290/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 14 Sep 2015 10:02:13 +0000 (12:02 +0200)
committerNicole Cordes <typo3@cordes.co>
Mon, 14 Sep 2015 11:06:59 +0000 (13:06 +0200)
Upon missing SYS/isInitialDatabaseImportDone configuration value, the
install tool throws an exception.
Merging the LocalConfiguration array with the DefaultConfiguration
solves the problem.

Change-Id: Ic11e7ae4d4b38e50bf8b1cbd6f4ba649ec2edffa
Resolves: #69777
Relates: #51930
Releases: master
Reviewed-on: http://review.typo3.org/43290
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/install/Classes/Controller/Action/Step/DatabaseData.php

index 524a95b..9f4ad08 100644 (file)
@@ -193,7 +193,7 @@ class DatabaseData extends AbstractStepAction {
         */
        protected function isImportDatabaseDone() {
                return $this->objectManager->get(ConfigurationManager::class)
-                       ->getLocalConfigurationValueByPath('SYS/isInitialDatabaseImportDone');
+                       ->getConfigurationValueByPath('SYS/isInitialDatabaseImportDone');
        }
 
 }