Search code examples
typo3-10.x

TYPO3 10.4 new fields not found in frontend


I have extended database table fe_users with new field using extension builder. The fields are visible in backend user-interface, but not available in frontend in Typo3 10.4.x . But the same code works fine in Typo3 9.x frontend and backend.

I have also tried setting recordType to nothing in the ext_typoscript_setup.typoscript but this also does not help

mapping {
    tableName = fe_users
    recordType = 
}

Any ideas on what more to look for?


Solution

  • The table mapping of the Extbase persistence is not longer possible in TypoScript. Migrate your TypoScript to a PHP file named EXT:myextension/Configuration/Extbase/Persistence/Classes.php.

    See breaking change 87623 for further details.

    A typical Classes.php file looks like the following.

    <?php
    
    return [
      \Vendor\Extension\Domain\Model\Object::class => [
        'tableName' => 'tx_extension_domain_model_object',
      ]
    ];