[TYPO3-core] RFC #8232: Creating and editing of fields, forms, etc. in FCE's is impossible if there is a section inside

Christian Kuhn lolli at schwarzbu.ch
Mon Aug 18 15:29:56 CEST 2008


Dmitry Dulepov [typo3] wrote:
> Hi!
> 
> This is SVN patch request.
> 
> Type: bug
> 
> Branch: trunk only (due to the complexity of the patch)
> 
> BT references:
> http://bugs.typo3.org/view.php?id=8232
> http://bugs.typo3.org/view.php?id=8570
> http://bugs.typo3.org/view.php?id=8766
> 
> Problem: if there is a section in Backend form (not necessarily in FCE 
> but in any BE form!), it is impossible to use RTE there. Clicking "Save" 
> causes login prompt and deleting section causes JavaScript error. It 
> happens because Kasper's implementation of dynamic section elements did 
> not take care about RTE code.
> 
> Solution: solution is complex to explain :( The whole fixing process 
> took 11 hours initially + 3 hours for cleaning up the patch. It involves 
> generating code for RTE and dynamically replacing certain parts of it 
> using JavaScript. The solution is not the most elegant but anything else 
> is impossible without a complete rewrite of Kasper's code for sections.
> 
> The patch includes changes for TCEforms and rtehtmlarea. BE portion of 
> the patch is tested by people, who monitor the issue in BT and FE part 
> of RTE is updated/tested by Stanislas.
> 
> As I wrote the code there is not very elegant. I would say more: it is 
> terrible in my opinion. But nothing else (except complete rewrite) is 
> possible.
> 
> Since this bug is really critical for anyone who uses sections with RTE 
> (complete failure of BE!), I hope to see it in the 4.3. If we ever 
> decide on ExtJS for BE forms, this horrible code will go away.


Tested this patch with the steps.xml Datastructure file attached to the 
bugtracker in an TV environment. The patch solves the issue.

I did not dig into the code, so here is my +1 just on testing but not on 
reading / reviewing.


Regards
Christian


More information about the TYPO3-team-core mailing list