[BUGFIX] Catch possible exceptions while loading YAML files via import
If an error happens during loading YAML files, e.g. because the path is wrong or the used extension has been deactivated, the website must still be working. The error is now logged as error instead. Resolves: #88993 Releases: master, 9.5 Change-Id: I0103fac53a6f1ff6216bdc11961ffe76fea8a9b4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61761 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Showing
- typo3/sysext/core/Classes/Configuration/Loader/Exception/YamlFileLoadingException.php 21 additions, 0 deletions...nfiguration/Loader/Exception/YamlFileLoadingException.php
- typo3/sysext/core/Classes/Configuration/Loader/Exception/YamlParseException.php 21 additions, 0 deletions...ses/Configuration/Loader/Exception/YamlParseException.php
- typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php 20 additions, 9 deletions...sext/core/Classes/Configuration/Loader/YamlFileLoader.php
- typo3/sysext/form/Tests/Unit/Mvc/Configuration/YamlSourceTest.php 1 addition, 0 deletions...sext/form/Tests/Unit/Mvc/Configuration/YamlSourceTest.php
Please register or sign in to comment