[TYPO3-core] FYI: #16764: Insufficient information about which class is failing to implement interfaces in tslib_cObj->start()

Ingo Renner ingo at typo3.org
Fri Dec 17 13:41:52 CET 2010


Hi all,

FYI, I've committed the attached patches to

branch 4.4 in rr9822 and
trunk (4.5) in r9823

Typ: tweak / clean up

BT Reference: http://bugs.typo3.org/view.php?id=16764

Problem:
Hooks and interfaces introduced intslib_cObj->start() check whether 
classes registered for these hooks implement the associated interfaces 
and throw an exception if that is not the case. The exception's message 
does not provide information about which class is failing to implement 
the necessary interfaces though.

Solution:
Add the class information to the exception messages


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16764_44.diff
Type: text/x-diff
Size: 1260 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101217/14375600/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16764_45.diff
Type: text/x-diff
Size: 912 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101217/14375600/attachment-0001.diff>


More information about the TYPO3-team-core mailing list