Actions
Bug #20962
closedField handling API in t3lib_extMgm does not check for duplicates on insertion and runs superflouos insertions
Start date:
2009-08-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The method t3lib_extMgm::addToAllTCAtypes() does not check for duplicates on insertion. Furthermore t3lib_extMgm::addFieldsToAllPalettesOfField() runs superflouos insertions even if an accordant palette was already processed.
Examples:
t3lib_extMgm::addToAllTCAtypes('table', 'fieldA, fieldA, fieldB');
will add 'fieldA, fieldA, fieldB' and thus 'fieldA' twice to the rendering definition.
t3lib_extMgm::addFieldsToAllPalettesOfField('table', 'fieldWithPalette', 'fieldA, fieldB');
will add some superflouos commas field list of the palette.
(issue imported from #M11834)
Files
Actions