Issue Bug Closed

#88066Install - wrong value returned in function executeDatabaseSelectAction

Riccardo De Contardi 04/03/19, 22:21 updated 05/15/19, 14:34

Description

According to the reporting by Robin Scholz on Slack, on typo3/sysext/install/Classes/Controller/InstallerController.php the wrong “true” value is returned at the lines 572-581 (latest master) https://github.com/TYPO3/TYPO3.CMS/blob/28a25f4f39a186fdcaaea0e01f9d91aacb4881a2/typo3/sysext/install/Classes/Controller/InstallerController.php#L572-L581:

        } else {
            return new JsonResponse([
                'sucess' => true,
                'status' => [
                    new FlashMessage(
                        'You must select a database.',
                        'No Database selected',
                        FlashMessage::ERROR
                    ),
                ],
            ]);
        }

Also, sucess is spelled wrong.

Thanks Robin for your findings!

Btw the issue is present also on 9.5.5, but at different lines (568-577)

Reviews 2