[BUGFIX] Create same configuration in web and cli install process
The code for the web installer and the cli installer is only partly aligned and shared, thus may easily diverge, leading to different installation results. The code to create system settings is now put into SetupService and is used for both installation methods, so that the cli install now also uses FactoryConfiguration.php. Additionally, the following cleanups are performed to prepare further cleanup of the installation process: * The cli setup does not set insecure trustedHostPattern any more. * Silent config and template file changes are removed from setup, as conceptually these do nothing on newly created config and template files. * New exceptions are created for config file generation instead of misusing a FAL-related exception. * Absolute paths are made relative to project path before being passed to exception. Resolves: #102403 Releases: main, 12.4 Change-Id: I069e9e9f4136bba56d630eaf09f676b6c5ea7904 Reviewed-on: https:/...
Showing
- Build/Sources/TypeScript/install/installer.ts 2 additions, 28 deletionsBuild/Sources/TypeScript/install/installer.ts
- typo3/sysext/install/Classes/Command/SetupCommand.php 3 additions, 10 deletionstypo3/sysext/install/Classes/Command/SetupCommand.php
- typo3/sysext/install/Classes/Controller/InstallerController.php 8 additions, 70 deletions...sysext/install/Classes/Controller/InstallerController.php
- typo3/sysext/install/Classes/Service/Exception/ConfigurationDirectoryDoesNotExistException.php 25 additions, 0 deletions...Exception/ConfigurationDirectoryDoesNotExistException.php
- typo3/sysext/install/Classes/Service/Exception/ConfigurationFileAlreadyExistsException.php 25 additions, 0 deletions...ice/Exception/ConfigurationFileAlreadyExistsException.php
- typo3/sysext/install/Classes/Service/SetupService.php 49 additions, 17 deletionstypo3/sysext/install/Classes/Service/SetupService.php
- typo3/sysext/install/Classes/ServiceProvider.php 2 additions, 4 deletionstypo3/sysext/install/Classes/ServiceProvider.php
- typo3/sysext/install/Resources/Public/JavaScript/installer.js 1 addition, 1 deletion...3/sysext/install/Resources/Public/JavaScript/installer.js
Please register or sign in to comment