Project

General

Profile

Actions

Bug #106362

open

Exception if uid in tca label_alt

Added by Alexander Grein 3 days ago. Updated 2 days ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2025-03-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #106296: Schema API in EditDocumentControllerResolved2025-03-04

Actions
Actions

Also available in: Atom PDF