Issue Feature Closed

#96188InlineRecordContainer: Does not handle FAL relations for headerThumbnail

Julian Hofmann 12/02/21, 09:40 updated 04/11/25, 12:30

Description

For the UID of the `headerThumbnail`, the first array entry in the configured field is used.

But when debugging the record (`$rec` / `$data[‘databaseRow’]`), we see, it is just the raw record, which means a FAL-field will not be an array but only an integer that counts the relations…
This way, `$fileUid`will always stay empty.

\TYPO3\CMS\Backend\Form\Container\InlineRecordContainer:

$fieldValue = $rec[$inlineConfig['appearance']['headerThumbnail']['field']];
$fileUid = $fieldValue[0]['uid'];

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Jacco van der Post commented and changed tracker Bug Feature TYPO3 Version 11 12/02/21, 11:30

  2. Benni Mack changed Sprint Focus On Location Sprint 08/02/23, 13:11

  3. Andreas Kienast commented and changed status New Closed 04/11/25, 12:30

    With the introduction of the native TCA type file, using headerThumbnail has been removed with #98479.

    Therefore, I’ll close this issue.