[TYPO3-core] FYI: Fixed bug #14896: ExtJS is not included when RTE is invoked by USER_INT frontend script

Stanislas Rolland typo3 at sjbr.ca
Sun Jul 11 00:35:46 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
In Frontend, the pageRenderer is invoked by the RTE in order to include 
required js librairies and scripts and required css files. However, 
USER_INT scripts are invoked after page generation and, in particular, 
after the pageRenderer is invoked. Therefore, the required files are not 
included and the RTE fails to load.

Solution:
The attached patch creates a local instance of the pageRenderer invoked 
after USER_INT scripts are invoked and substituted on the page.

The opposite issue may occur if the plugin is USER and 
javascriptLibs.ExtJs was configured on the page setup to include ExtJs 
explicitly. Then ExtJs would be included twice. The attached patch also 
fixes this issue.

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

Branches:
trunk (revision 8152)
TYPO3_4-4 (revision 8153)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_14896_v3_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100710/86c878ec/attachment.asc>


More information about the TYPO3-team-core mailing list