Issue Bug Closed

#93091Missing "Create new relation"-buttons after deleting the former relation

Julian Hofmann 12/16/20, 16:14 updated 02/23/21, 13:13

Description

The following field is configured:

'file' => [
    'label' => 'File',
    'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
        'file',
        [
            'minitems' => 1,
            'maxitems' => 1,
            'foreign_match_fields' => [
                'fieldname' => 'file',
                'tablenames' => 'tx_example_domain_model_example',
                'table_local' => 'sys_file',
            ],
        ],
        '',
        'php,php(3-8)'
    ),
],

While editing a record and deleting an existing file relation, there’s no button to add a new relation shown anymore.

Till TYPO3 v10.4.10 the backend looks like this after deleting the relation:
till_TYPO3_v10.4.10.png

Since TYPO3 v10.4.11 the backend looks like this after deleting the relation:
since_TYPO3_v10.4.11.png

Reviews 2