[BUGFIX] Create root page with slug field filled on installation 62/58162/2
authorBenni Mack <benni@typo3.org>
Mon, 3 Sep 2018 20:19:43 +0000 (22:19 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 3 Sep 2018 20:44:14 +0000 (22:44 +0200)
The root page should contain as best practice the "/" as slug,
after a successful installation.

Resolves: #86125
Releases: master
Change-Id: I2dced238f3482564f4c23fae6c191b68fc500b8e
Reviewed-on: https://review.typo3.org/58162
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/install/Classes/Controller/InstallerController.php

index 21b0c57..4bd732e 100644 (file)
@@ -744,6 +744,7 @@ class InstallerController
                         'cruser_id' => 1,
                         'tstamp' => time(),
                         'title' => 'Home',
+                        'slug' => '/',
                         'doktype' => 1,
                         'is_siteroot' => 1,
                         'perms_userid' => 1,