[TYPO3-core] RFC: #14061: Do not die, be the exception!

Jigal van Hemert jigal at xs4all.nl
Sun Apr 11 08:36:34 CEST 2010


Steffen Kamper wrote:
> There are some die's in core which don't serve the needed information 
> why the error happen.

+1000 by testing! Hallelujah for this patch!

> Best example: "Extensionkey 'anyext' was not loaded!"
> But you don't know where this call is done. With Exception you get the 
> script and the line where this call is done.

I just got the ugliest of all:
TYPO3 Fatal Error: Extension key "" was NOT loaded! 
(t3lib_extMgm::extRelPath)

With the patch it lead me straight to the location where the problem is

9 t3lib_extMgm::extRelPath(NULL)

typo3\sysext\rtehtmlarea\class.tx_rtehtmlarea_base.php:

00441:      $this->addStyleSheet(
00442:       'rtehtmlarea-plugin-' . $pluginId . '-skin',
00443:       ($this->is_FE() ? t3lib_extMgm::siteRelPath($key) : 
t3lib_extMgm::extRelPath($key)) . $pathToSkin
00444:       );
00445:     }

Thank you for this patch!

-- 
Jigal van Hemert.


More information about the TYPO3-team-core mailing list