Project

General

Profile

Actions

Bug #99880

closed

Undefined array key 1 in BackendUtility.php line 1380

Added by Thomas Hohn over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
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,
        ],
],


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #99739: Associative array keys for TCA itemsClosed2023-01-28

Actions
Actions

Also available in: Atom PDF