Issue Bug Closed

#106362Exception if uid in tca label_alt

Alexander Grein 03/12/25, 11:53 updated 12/02/25, 14:22

Description

After updating from TYPO3 13.4.5 to TYPO3 13.4.7 I get this exception when I try to save a fe_users record with a modified tca:

TYPO3\CMS\Backend\Controller\EditDocumentController::{closure:TYPO3\CMS\Backend\Controller\EditDocumentController::processData():719}(): Argument #1 ($field) must be of type TYPO3\CMS\Core\Schema\Field\FieldTypeInterface, null given

It comes from a change coming with this commit:
https://github.com/typo3/typo3/commit/d6b5de2dfdc

After playing around a bit in my tca configuration i found the cause:

$GLOBALS['TCA']['fe_users']['ctrl']['label_alt'] = 'uid,usergroup';

After removing the uid field from the label_alt, the exception disappears.

Reviews 2