[TYPO3-core] RFC #16565: Bug: FlashmessageQueue does not work in FE mode
Bastian Waidelich
bastian.waidelich at typo3.org
Thu Nov 25 13:42:38 CET 2010
Martin Kutschker wrote:
>> 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 :(
I know *sigh as well*. It's not only less clean but impossible to test.
I guess, that's the price of using static classes/methods..
I like Steffens solution better, but it contains the switch as well and
I can't think of a backwards compatible way without the switch..
Bastian
More information about the TYPO3-team-core
mailing list