TYPO3 Exception 1443793404

TYPO3 12.4 - 01.07.2025

Installation Overview

Custom extension with custom table and inline field created by stefanfroemken/ext-kickstarter

The Issue

The generated TCA is not complete:

'fieldname' => [
    'label' => 'Fieldname',
    'config' => [
        'type' => 'inline',
    ],
],
Copied!

Solution

Add foreign_table and foreign_field to TCA:

'fieldname' => [
    'label' => 'Fieldname',
    'config' => [
        'type' => 'inline',
        'foreign_table' => 'tx_myextension_domain_model_othertable',
        'foreign_field' => 'parent',
    ],
],
Copied!

See also Example: Simple 1:n inline relation