#106889TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline::resolveConnectedRecordUids(): Argument #4 ($parentFieldValue) must be of type string, null given
Description
With #104584 the one or other native types has been added to
`\TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline` methods,
leading to issues in calling paths for TCA type=inline fields
with `foreign_table` configuration.
Configuration like following:
‘tx_myext_entities’ => [
‘exclude’ => true,
‘label’ => $ll(‘pages.tx_academiccontacts4pages_contacts’),
‘l10n_mode’ => ‘exclude’,
‘config’ => [
‘type’ => ‘inline’,
‘appearance’ => [
‘collapseAll’ => true,
‘expandSingle’ => false,
‘showNewRecordLink’ => true,
‘newRecordLinkAddTitle’ => true,
‘levelLinksPosition’ => ‘top’,
‘useCombination’ => false,
‘suppressCombinationWarning’ => false,
‘useSortable’ => true,
‘showPossibleLocalizationRecords’ => false,
‘showAllLocalizationLink’ => false,
‘showSynchronizationLink’ => false,
‘enabledControls’ => [
‘info’ => true,
‘new’ => true,
‘dragdrop’ => true,
‘sort’ => false,
‘hide’ => true,
‘delete’ => true,
‘localize’ => true,
],
‘showPossibleRecordsSelector’ => false,
‘elementBrowserEnabled’ => false,
],
‘enableCascadingDelete’ => true,
‘foreign_field’ => ‘page’,
‘foreign_sortby’ => ‘sorting’,
‘foreign_table’ => ‘tx_myext_domain_model_entity’,
],
],
requires `nullable integer` database fields as for the column
`tx_myext_entities` in the table as it is a counter field due
to relation handling.
`l10n_mode=exclude` means that the field is not translated and
does not have a default language row during page localization,
trying to pass array value `NULL` as 4th argument to the method
`TcaInline::resolveConnectedRecordUids()` expecting `string`,
leading to the TypeError.
Reviews 2
Related issues 1
Files 2
History 38
-
Stefan Bürk changed Related to #104584 <span data-processor="relativetime" data-value="2025-06-16T08:10:36+00:00" > 06/16/25, 08:10 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 89734 status
NewUnder Review <span data-processor="relativetime" data-value="2025-06-16T08:11:13+00:00" > 06/16/25, 08:11 </span> -
Gerrit Code Review pushed patch set 2 for main to change 89734 <span data-processor="relativetime" data-value="2025-06-16T09:11:23+00:00" > 06/16/25, 09:11 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 89734 <span data-processor="relativetime" data-value="2025-06-16T11:31:13+00:00" > 06/16/25, 11:31 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 89734 <span data-processor="relativetime" data-value="2025-06-16T12:28:58+00:00" > 06/16/25, 12:28 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 89741 <span data-processor="relativetime" data-value="2025-06-17T10:57:47+00:00" > 06/17/25, 10:57 </span>
-
Stefan Bürk commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-06-17T11:10:09+00:00" > 06/17/25, 11:10 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:21:26+00:00" > 12/02/25, 14:21 </span>
Applied in changeset commit:2e9d5576a124b48cc1261166e0952536e5c380b9.