[TYPO3-core] RFC: Bug #6456: IRRE - Palettes are not rendered correctly on nesting records using the same table

Oliver Hader oh at inpublica.de
Tue Oct 30 16:34:19 CET 2007


This is a SVN patch request.

Problem:
On nesting records of the same table, e.g. parent record is tt_news that
has child records of tt_news (e.g. "related news"), the palettes are not
correctly rendered and "disappear".

Solution:
The array t3lib_TCEforms::$palettesRendered tracks palettes for a table
that were already rendered. In the IRRE situation, the children fill
these array and fool the parent. The solution is to temporarily store
this information, render the child and restore this information.

Comments:
The patch adds a new method to t3lib_TCEforms_inline and I'd like to
commit this also for the TYPO3_4-1 branch. Some of you might think
"well, new features/methods are not allowed in current stable" - but in
this case it's not a feature but more a wrapper. Besides that it fixes a
bug and prevents redundant glue coding. I hope I made this clear! ;-)
Since this issue is related to IRRE only, I'm going to commit in one
week if nobody objects.

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

Branches: TYPO3_4-1 & Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006456.patch
Type: text/x-patch
Size: 2171 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071030/9ab7fa98/attachment.bin 


More information about the TYPO3-team-core mailing list