[TYPO3-core] RFC: Bug #12598: Use flash messages to show SQL debug errors in the backend

Martin Kutschker masi-no at spam-typo3.org
Mon Nov 16 09:54:22 CET 2009


Oliver Hader schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12598
> 
> Branches: Trunk
> 
> Problem:
> If sqlDebug is enabled to visualize SQL errors this currently breaks the
> document and in TCEforms buttons cannot be clicked anymore.
> 
> Solution:
> Flash messages should be used to solve this issue.

-1 Checking for the mode in t3lib is the wrong place to do it. Is there really no other way?

How about adding a context property * that handles error conditions. The BE could provide a context
that uses the flash messages.

Masi

* in v5 this would probably be handled by dependency injection.


More information about the TYPO3-team-core mailing list