[BUGFIX] Introduce failsafe view in install tool
The installer does not work, if doc comment reflection is broken, so we need to make the first install step more robust by using inject methods and introducing a failsafe view which does simple php templating in case critical errors (like doc comments disabled) occur. Resolves: #55352 Releases: 6.2 Change-Id: I424d6a290b65ae023ec19a745477cfaecdef72c7 Reviewed-on: https://review.typo3.org/27067 Tested-by: Alexander Opitz Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
Showing
- typo3/sysext/install/Classes/Controller/Action/AbstractAction.php 19 additions, 3 deletions...sext/install/Classes/Controller/Action/AbstractAction.php
- typo3/sysext/install/Classes/Controller/Action/Common/InstallToolDisabledAction.php 8 additions, 1 deletion...es/Controller/Action/Common/InstallToolDisabledAction.php
- typo3/sysext/install/Classes/Controller/Action/Step/EnvironmentAndFolders.php 3 additions, 1 deletion.../Classes/Controller/Action/Step/EnvironmentAndFolders.php
- typo3/sysext/install/Classes/Controller/StepController.php 2 additions, 0 deletionstypo3/sysext/install/Classes/Controller/StepController.php
- typo3/sysext/install/Classes/Status/AlertStatus.php 37 additions, 0 deletionstypo3/sysext/install/Classes/Status/AlertStatus.php
- typo3/sysext/install/Classes/Status/StatusUtility.php 1 addition, 0 deletionstypo3/sysext/install/Classes/Status/StatusUtility.php
- typo3/sysext/install/Classes/SystemEnvironment/Check.php 16 additions, 8 deletionstypo3/sysext/install/Classes/SystemEnvironment/Check.php
- typo3/sysext/install/Classes/View/FailsafeView.php 118 additions, 0 deletionstypo3/sysext/install/Classes/View/FailsafeView.php
- typo3/sysext/install/Resources/Private/Templates/Action/Common/InstallToolDisabled.phtml 34 additions, 0 deletions...Private/Templates/Action/Common/InstallToolDisabled.phtml
- typo3/sysext/install/Resources/Private/Templates/Action/Step/EnvironmentAndFolders.phtml 55 additions, 0 deletions...Private/Templates/Action/Step/EnvironmentAndFolders.phtml
Please register or sign in to comment