[TYPO3-core] RFC #14555: early thrown debug messages are not visible (BE only)

Stefan Galinski sgalinski at df.eu
Mon May 31 17:26:12 CEST 2010


Hi,

This is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=14553

Branches: trunk

Problem:
If a debug message is thrown very early, it's hidden behind the viewport. 
This can happen if you try to debug something e.g. inside the backend.php.

Solution:
Use Ext.onReady to delay the output message until the BE is ready. 

How To Reproduce:

1) Patch "test1" throws a debug message if the backend is loaded. After the 
patch it's shown inside the debug console. Before it was hidden behind the 
viewport.

2) Patch "test2" throws a debug message inside the show_items.php file. It's 
outputed directly into the browser, because it's the info popup for a data 
record without a viewport.

I have tested the patch in all browsers with several debug messages. 

-- 
Stefan Galinski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14555_v1.diff
Type: text/x-patch
Size: 1987 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100531/3ee1e883/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1.diff
Type: text/x-patch
Size: 349 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100531/3ee1e883/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.diff
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100531/3ee1e883/attachment-0002.bin>


More information about the TYPO3-team-core mailing list