[BUGFIX] Show default site name in installation wizard 90/54490/2
authorNicole Cordes <typo3@cordes.co>
Sat, 28 Oct 2017 10:44:33 +0000 (12:44 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 30 Oct 2017 19:59:30 +0000 (20:59 +0100)
Currently in step 4 the input box for the site name is empty. This patch
re-adds the default site name from FactoryConfiguration.php as initial
value.

Resolves: #82876
Releases: master
Change-Id: I391254cf7ae6e5f8aa45003035aebaf513e733d3
Reviewed-on: https://review.typo3.org/54490
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/install/Classes/Controller/InstallerController.php

index bf7e245..b2b9a5b 100644 (file)
@@ -565,6 +565,7 @@ class InstallerController
         $view = $this->initializeStandaloneView('Installer/ShowDatabaseData.html');
         $formProtection = FormProtectionFactory::get(InstallToolFormProtection::class);
         $view->assignMultiple([
+            'siteName' => $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'],
             'executeDatabaseDataToken' => $formProtection->generateToken('installTool', 'executeDatabaseData'),
         ]);
         return new JsonResponse([