[BUGFIX] Fix typo in sys_registry key for fetching last wizard position 52/52652/2
authorXavier Perseguers <xavier@typo3.org>
Fri, 28 Apr 2017 12:27:53 +0000 (14:27 +0200)
committerXavier Perseguers <xavier@typo3.org>
Fri, 28 Apr 2017 12:37:03 +0000 (14:37 +0200)
This fix will let upgrade wizard "Execute database migrations on single rows" restore
last reached position whenever the wizard is run again.

Change-Id: Iccaa14f82db4501447e7c553498a36074898b85b
Resolves: #81066
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/52651
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-on: https://review.typo3.org/52652

typo3/sysext/install/Classes/Updates/DatabaseRowsUpdateWizard.php

index 3c9d36e..fcc0754 100644 (file)
@@ -291,7 +291,7 @@ class DatabaseRowsUpdateWizard extends AbstractUpdate
     protected function getStartPosition(string $firstTable): array
     {
         $registry = GeneralUtility::makeInstance(Registry::class);
-        $startPosition = $registry->get('installUpdateRows', 'rowUpdaterPosition', []);
+        $startPosition = $registry->get('installUpdateRows', 'rowUpdatePosition', []);
         if (empty($startPosition)) {
             $startPosition = [
                 'table' => $firstTable,