From 2aec69e035f535d32c9a6f63741cb77e75b94438 Mon Sep 17 00:00:00 2001
From: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Date: Mon, 9 Jul 2018 12:33:54 +0200
Subject: [PATCH] [BUGFIX] Fix FlashMessage when dumping autoload-information
 in composer-mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

In composer-mode the autoload-information can't be dumped. A FlashMessage
is shown as a notice. But the message itself was left empty and instead
a message-title was given which is not shown in the backend.

Resolves: #85515
Releases: master
Change-Id: Ie8e59fb5272f1a1682b19652ac991e5dbee6a4e3
Reviewed-on: https://review.typo3.org/57511
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
---
 .../sysext/install/Classes/Controller/MaintenanceController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/install/Classes/Controller/MaintenanceController.php b/typo3/sysext/install/Classes/Controller/MaintenanceController.php
index e6b7b2501ac8..9f195f149186 100644
--- a/typo3/sysext/install/Classes/Controller/MaintenanceController.php
+++ b/typo3/sysext/install/Classes/Controller/MaintenanceController.php
@@ -152,8 +152,8 @@ class MaintenanceController extends AbstractController
         $messageQueue = new FlashMessageQueue('install');
         if (Environment::isComposerMode()) {
             $messageQueue->enqueue(new FlashMessage(
-                '',
                 'Skipped generating additional class loading information in composer mode.',
+                '',
                 FlashMessage::NOTICE
             ));
         } else {
-- 
GitLab