[TYPO3-core] FYI: Fixed bug #15893: htmlArea RTE: Insufficient Check for BE / FE Context (Thanks to Ingo Renner)

Stanislas Rolland typo3 at sjbr.ca
Thu Oct 7 06:01:52 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
If a backend module instantiates TSFE, the RTE assumes that it is 
running in FE context due to the existence of the TSFE object. It then 
tries to load and merge language labels which leads to fatal error in 
t3lib_div::array_merge_recursive_overrule().

Solution:
Properly detect the FE context by testing TYPO3_MODE == 'FE'.

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

Note:
Thanks to Ingo Renner for providing this patch.

Branches:
trunk (revision 9005)
TYPO3_4-4 (revision 9006)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_15893_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101007/b3be3ed0/attachment.txt>


More information about the TYPO3-team-core mailing list