[TYPO3-core] RFC: Bug 5556: IRRE - RTE in child elements overwrites field in parent element
Oliver Hader
oh at inpublica.de
Fri May 4 12:10:53 CEST 2007
Hi,
there is another issue on this mentined in the bugtracker.
Please ignore this patch - I'll post a new one when I have fixed the
other problem with creating children parallelly.
olly
Oliver Hader wrote:
> This is a SVN patch request.
>
> Problem:
> 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.
>
> Solution:
> Send the number of RTEhtmlarea instances with the AJAX call that
> requests a new child record and reinit the variable $RTEcounter.
>
> Comments:
> 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:
> http://bugs.typo3.org/view.php?id=5556
>
> Branch: TYPO3_4-1 & Trunk
--
Oliver Hader
http://inpublica.de/
More information about the TYPO3-team-core
mailing list