[!!!][TASK] Streamline error and exception handling
Remove the possibility for extensions to provide error and exception handling configuration in ext_localconf.php of an extension. This only worked anyway only for errors or exceptions at a later point in the bootstrap. We now by definition make it only possible in LocalConfiguration.php (or AdditionalConfiguration.php). In addition make the configuration more reliable and understandable: * Register error handler even if exception handling is not configured. * Remove option 2 for displayErrors option * Configure everything only once and early in the bootstrap. Releases: master Resolves: #68131 Change-Id: I204f17510fcb10fa8601162687793910fbcf4464 Reviewed-on: http://review.typo3.org/31844 Reviewed-by:Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/Core/Bootstrap.php 46 additions, 70 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Error/ErrorHandler.php 15 additions, 2 deletionstypo3/sysext/core/Classes/Error/ErrorHandler.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-68131-StreamlineErrorAndExceptionHandling.rst 26 additions, 0 deletions...er/Breaking-68131-StreamlineErrorAndExceptionHandling.rst
- typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php 0 additions, 1 deletion.../sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php
- typo3/sysext/install/Classes/Controller/Action/AbstractAction.php 0 additions, 1 deletion...sext/install/Classes/Controller/Action/AbstractAction.php
- typo3/sysext/install/Classes/Service/ClearCacheService.php 0 additions, 1 deletiontypo3/sysext/install/Classes/Service/ClearCacheService.php
Please register or sign in to comment