Actions
Bug #99880
closedUndefined array key 1 in BackendUtility.php line 1380
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2023-02-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
A faulty TCA configuration can cause an Undefined array key
[$currentLabel, $currentKey] = $itemConfiguration;
Example:
'column' => [ 'exclude' => true, 'label' => 'Columnname', 'config' => [ 'type' => 'select', 'renderType' => 'selectSingle', 'items' => [ [ 'Faulty entry', ], [ 'Correct entry ', '100', ], ], 'default' => 0, ], ],
Updated by Georg Ringer almost 2 years ago
- Status changed from New to Rejected
thanks for your issue. even if this would be fixed, I am quite sure there are other issues as well which will popup with wrong TCA items.
i am closing this issue in favor of #99739 which should solve that in a far better way.
hope this is ok for you
Updated by Georg Ringer almost 2 years ago
- Related to Feature #99739: Associative array keys for TCA items added
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Rejected to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77787
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77787
Updated by Thomas Hohn almost 2 years ago
- Status changed from Under Review to Closed
Should will be fixed by another issue
Actions