[TYPO3-core] RFC #15550:t3lib_error_Exception not available in some cases

Stefan Galinski stefan.galinski at gmail.com
Tue Aug 24 23:58:37 CEST 2010


Hi,

This is an SVN patch request.

Type: bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=15550

Branches: 4.3, 4.4, trunk

Problem:
The current errorHandler tries to throw an t3lib_error_Exception if e.g. a 
PHP deprecation error is thrown. In this case the autoloading seems not to 
be available.

Solution:
Use a simple Exception instead of t3lib_error_Exception. 

How to Reproduce:

1) Apply the exceptionTest.diff
2) Go to the reports module

You will get an fatal error that the t3lib_error_Exception class wasn't 
found.

-- 
Stefan Galinski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15550_v1.diff
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100824/590d9421/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exceptionTest.diff
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100824/590d9421/attachment-0001.bin>


More information about the TYPO3-team-core mailing list