Actions
Bug #56283
closedTCA::addFieldsToPallette removes field from list
Start date:
2014-02-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
This command:
$list = $newList = trim($list, ', \\t\\n\\r\\0\\x0B');
causes exiting fields to be removed, when executing
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette();
which calls
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::executePositionedStringInsertion();
this also happens when doing
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages','title','');
WORKS: $list = $newList = trim($list)
WORKS: $list = $newList = trim($list, ", \t\n\r\0\x0B");
DOES NOT WORK: $list = $newList = trim($list, ', \\t\\n\\r\\0\\x0B');
PHP Version is 5.3.10
Actions