[TYPO3-core] RFC: #12614: Debug output destroys BE HTML

Oliver Hader oliver at typo3.org
Mon Nov 16 20:38:09 CET 2009


Hi Steffen,

Steffen Kamper schrieb:
> Hi,
> 
> This is SVN patch request.
> 
> Type: Bugfix
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=12614
> 
> Problem:
> if you use t3lib_div::debug in BE the HTML is corrupted, docheader not
> clickable etc. It's very weird.
> 
> Reason is that t3lib_div::debug use "echo" which doesn't respect any
> output.
> 
> Solution:
> use flash messages. Ensure that the flag "showFlashMessage" is
> respected, that modern modules with templates render their flashmessage
> in modulebody, that old modules get the flash messages too, that FE
> output shows debug too.
> 
> It also respect all settings and debug handlers, as t3lib_div::debug is
> used as "last" output of debug

Thanks for the patch - it's related or "the successor" of RFC #12598
(flashmessages for sqlDebug). I'm also in doubt whether it one shall be
able to define how this appears, e.g.
* debug() just behaves like now
* debug(t3lib_div::DEBUG_FLASHMESSAGES) uses flash messages

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list