[TYPO3-core] RFC: Bug #9897: Extending palettes and fields to be displayed in back-end forms mixes up tabs

Steffen Kamper info at sk-typo3.de
Sat Dec 27 14:20:01 CET 2008


REMINDER

this one definitively should find the way in 4.2.4 too.

vg Steffen

Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> A misbehaviour in t3lib_extMgm results in missing tabs when TCA types or
> palettes definitions get extended. Imagine the following initial field list:
> "fieldA, --div--;General, fieldB, --div--;Access, fieldC"
> 
> After extending this list via t3lib_extMgm calls, you'd get something
> like this - the second tab item is missing:
> "fieldA, --div--;General, fieldB, fieldC"
> 
> Solution:
> The reason is, that a check against duplicate field names does not work
> for multiple "--div--" or "--palette--" items as it is implemented now.
> Thus the current scheme using an associative array has to be changed to
> an indexed array that keeps the order of the intitial items/fields.
> 
> Comments:
> Additionally there are some more changes concerning the naming. All
> occurrences of "field" or "fieldList" were changed to "items" oder
> "itemList". These changes are not required for the functionality but are
> good to understand the structure and it's easier/possible to do this in
> alpha phase than later on.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9897
> 
> Branch: Trunk
> 
> 
> olly
> 


More information about the TYPO3-team-core mailing list