[TYPO3-core] RFC: #12614: Debug output destroys BE HTML
Steffen Kamper
info at sk-typo3.de
Mon Nov 16 16:52:13 CET 2009
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
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12614-debug_flashmessages.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091116/1423a93e/attachment.txt>
More information about the TYPO3-team-core
mailing list