Actions
Bug #101796
closedSuggestWizardController doesn't respect TCA overrides on new Content elements
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.
Actions