[TYPO3-core] RFC #9355: Add an error and exception handler (backported from FLOW3)

Oliver Klee typo3-german-02 at oliverklee.de
Mon Sep 7 17:10:30 CEST 2009


Hi,

Ingo Renner schrieb:
>> - In class t3lib_error_ProductionExceptionHandler you (they) use inline
>> CSS with a few classes, just as in t3lib_error_DebugExceptionHandler.
>> Why in this later, in different methods, CSS format (color,
>> background-color, ...) is sometimes hardcoded instead of having a proper
>> CSS class?
> 
> I don't know.

Educated guess (from the experience of my own error handlers): If
something really is broken, the error handler shouldn't rely on the
site's CSS or HTML being not broken. So inline styles are a way to make
sure the styles will be there no matter what.


Oliver


More information about the TYPO3-team-core mailing list