[BUGFIX] Skip non existing DatabaseRowsUpdateWizard classes 63/51563/2
authorFrans Saris <franssaris@gmail.com>
Tue, 7 Feb 2017 13:13:37 +0000 (14:13 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 7 Feb 2017 14:33:13 +0000 (15:33 +0100)
Resolves: #79661
Releases: master
Change-Id: I9639ad35764090aa38128671084e239b53639850
Reviewed-on: https://review.typo3.org/51563
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php

index c1d2b18..05b0f1a 100644 (file)
@@ -179,6 +179,10 @@ class UpgradeWizard extends Action\AbstractAction
         $rowUpdatersDoneClassNames = GeneralUtility::makeInstance(Registry::class)->get('installUpdateRows', 'rowUpdatersDone', []);
         $rowUpdatersDone = [];
         foreach ($rowUpdatersDoneClassNames as $rowUpdaterClassName) {
+            // Silently skip non existing DatabaseRowsUpdateWizard's
+            if (!class_exists($rowUpdaterClassName)) {
+                continue;
+            }
             /** @var RowUpdaterInterface $rowUpdater */
             $rowUpdater = GeneralUtility::makeInstance($rowUpdaterClassName);
             if (!$rowUpdater instanceof RowUpdaterInterface) {