[TYPO3-core] RFC #12093: Improve the error and exception handling
Rupert Germann
rupi at gmx.li
Sun Oct 11 20:37:23 CEST 2009
Hi,
this is a SVN patch request.
Type: Improvement / completing existing features
Bugtracker references:
http://bugs.typo3.org/view.php?id=12093
Branches: Trunk
Problem:
The new error and exception handling in TYPO3 is way too unflexible.
- Errors are "converted" to exceptions. This is not very useful because
every php warning will be turned into an exception and will stop the
script execution.
- Displayed errors break the backend layout and make forms unusable
- Errors and exceptions are only displayed, but there's no build-in
possibility to write errors and exception to a log.
Solution(s):
- introduce a new parameter for errors which should be handled by the
error handler. The already existing parameter "exceptionalErrors" is
still used, but only for that errors which should throw exceptions.
- Display the errors as flashmessages in the BE and as TsLog messages in
FE (in the adminpanel)
- implement logging of errors and exceptions to the different logging
systems TYPO3
For a detailed description of all changes and improvements have a look
at the Documentation:
http://wiki.typo3.org/index.php/File:Error_and_exception_handling.odt
greets
rupert
More information about the TYPO3-team-core
mailing list