[TYPO3-core] RFC #12093: Improve the error and exception handling

Rupert Germann rupi at gmx.li
Wed Oct 21 15:35:30 CEST 2009


hi,

the attached patch has been committed to trunk as follow-up
rev 6217

fixes broken quotes

greets
rupert


Rupert Germann schrieb:
> FYI: committed to trunk rev 6200
> 
> documentation uploaded to
> http://wiki.typo3.org/index.php/Pending_Documentation
> 
> 
> greets
> rupert
> 
> 
> Rupert Germann schrieb:
>> 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
>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12093_follow-up.diff
Type: text/x-diff
Size: 5635 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091021/27f3c9f8/attachment.diff>


More information about the TYPO3-team-core mailing list