[TYPO3-core] RFC: Bug 5556: IRRE - RTE in child elements overwrites field in parent element

Oliver Hader oh at inpublica.de
Fri May 4 08:12:01 CEST 2007

This is a SVN patch request.

Imagine RTEhtmlarea is used on parent and child elements. When creating
a new child record using IRRE/AJAX, the data of this new RTEhtmlarea
overwrites the data of the parent's RTEhtmlarea.
The RTEhtmlarea instances have numbers which are handled in
t3lib_TCEforms::$RTEcounter and incremented each time a new RTE should
be rendered. On using IRRE, the variable $RTEcounter starts again with
the value "1". Thus, there are two RTEhtmlarea instances with the same
number/name causing the overwriting.

Send the number of RTEhtmlarea instances with the AJAX call that
requests a new child record and reinit the variable $RTEcounter.

This is a issue related to IRRE. You can give +1s or otherwise if
nobodys objects, I'm going to commit this in one week.

Bugtracker reference:

Branch: TYPO3_4-1 & Trunk

Oliver Hader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005556_v3.patch
Type: text/x-patch
Size: 3191 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070504/4dd42698/attachment.bin 

More information about the TYPO3-team-core mailing list