[TYPO3-core] RFC #16565: Bug: FlashmessageQueue does not work in FE mode

Martin Kutschker masi-no at spam-typo3.org
Thu Nov 25 11:37:56 CET 2010


Am 25.11.2010 10:28, schrieb Bastian Waidelich:
> Hi all,
> 
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=16565
> 
> Branches:
> trunk
> 
> Problem:
> Since TYPO3 4.3 we have support for FlashMessages. The blog post at [1] states, that they are usable
> in frontend too. But in fact the FlashmessageQueue does only work in BE mode (at least for session
> based FlashMessages).
> 
> Solution:
> Add switches to t3lib_FlashMessageQueue that use the BE user session or FE user session to store the
> FlashMessages depending on the current TYPO3_MODE

*sigh* All the mode sniffing doesn't make the code any cleaner :(

Masi


More information about the TYPO3-team-core mailing list