Project

General

Profile

Bug #57824

Updated by Wouter Wolters almost 10 years ago


 A statement like this in ext_tables.php: 

 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'myPalette', 'tx_myext_myfield1, --linebreak--, tx_myext_myfield2, --linebreak--, tx_myext_myfield2, --linebreak--, tx_myext_myfield3'); 

 is not interpreted correctly. The method \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::removeDuplicatesForInsertion() removes all duplicated fields, including the "--linebreak--"s on line 643: 

 $insertionList = implode(', ', array_unique($insertionListParts)); 

 Only the first "--linebreak--" is kept. 

Back