Project

General

Profile

Actions

Bug #101796

closed

SuggestWizardController doesn't respect TCA overrides on new Content elements

Added by Markus Hofmann 9 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2023-08-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When restricting allowed tables on group field via columnsOverrides, creating a
new content element and adding a record via SuggestWizard, the wizard doesn't
respect the columnsOverrides restriction.

After first save and testing again, the restrictions are respected.

Example configuration for tt_content field records

$GLOBALS['TCA']['tt_content']['types']['contact']['columnsOverrides']['records'] = [
    'config' => [
        'allowed' => 'tt_address',
    ],
];

Current behaviour:

When creating a new content element with no ID given, the SuggestWizardController
is not able to detect the correct override setting, as the controller fetches the
information of possible overrides from the at this moment not saved record from database.

Expected behaviour:

Using the suggest in group field only returns records, which are allowed.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102256: Suggest wizard does not work for new elementsResolved2023-10-25

Actions
Actions

Also available in: Atom PDF