Actions
Bug #77155
closedPHP Warning: Invalid argument supplied for foreach() in backend/Classes/Form/Element/SelectMultipleSideBySideElement.php line 66
Start date:
2016-07-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
'one2many' => [ 'label' => 'LLL:EXT:test/Resources/Private/Language/locallang_db.xlf:tx_test.one2many', 'exclude' => TRUE, 'l10n_mode' => 'exclude', 'l10n_display' => 'defaultAsReadonly', 'config' => [ 'type' => 'select', 'items' => [ ['LLL:EXT:test/Resources/Private/Language/locallang_db.xlf:tx_test.one2many.I.0', 0], ['LLL:EXT:test/Resources/Private/Language/locallang_db.xlf:tx_test.one2many.I.1', 1], ['LLL:EXT:test/Resources/Private/Language/locallang_db.xlf:tx_test.one2many.I.2', 1], ['LLL:EXT:test/Resources/Private/Language/locallang_db.xlf:tx_test.one2many.I.3', 3], ], 'size' => 7, 'renderType' => 'selectMultipleSideBySide', 'maxitems' => 99, ], ]
With this TCA, it works for default language, but when I try to create localization, it failed.
According to my debug, I think the problem is, $parameterArray['itemFormElValue'] is array for the default language, but a string (comma connected) for other languages.
Actions