#96188InlineRecordContainer: Does not handle FAL relations for headerThumbnail
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
-
Jacco van der Post commented and changed tracker
BugFeature TYPO3 Version11<span data-processor="relativetime" data-value="2021-12-02T11:30:36+00:00" > 12/02/21, 11:30 </span> -
Benni Mack changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2023-08-02T13:11:52+00:00" > 08/02/23, 13:11 </span>
-
Andreas Kienast commented and changed status
NewClosed <span data-processor="relativetime" data-value="2025-04-11T12:30:33+00:00" > 04/11/25, 12:30 </span>With the introduction of the native TCA type
file, usingheaderThumbnailhas been removed with #98479.Therefore, I’ll close this issue.
See also https://stackoverflow.com/questions/70195982/typo3-preview-image-of-inline-records/70197133