[BUGFIX] Database compare must show errors 96/56096/2
authorGuido Schmechel <littlegee@web.de>
Sun, 11 Mar 2018 14:12:33 +0000 (15:12 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 14 Mar 2018 20:47:27 +0000 (21:47 +0100)
If database compare fails because of wrong SQL,
it shows now the error message.

Resolves: #84137
Releases: master, 8.7
Change-Id: Ie9b92b5ee656f5d5bfe1e5bdac52afa6c61eff03
Reviewed-on: https://review.typo3.org/56096
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/install/Classes/Controller/MaintenanceController.php

index d74f6c5..a26f6d3 100644 (file)
@@ -311,7 +311,7 @@ class MaintenanceController extends AbstractController
             ));
         } catch (StatementException $e) {
             $messageQueue->enqueue(new FlashMessage(
-                '',
+                $e->getMessage(),
                 'Database analysis failed',
                 FlashMessage::ERROR
             ));