Project

General

Profile

Actions

Feature #96188

open

InlineRecordContainer: Does not handle FAL relations for headerThumbnail

Added by Julian Hofmann over 2 years ago. Updated 9 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-02
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
On Location Sprint

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'];

Actions #1

Updated by Jacco van der Post over 2 years ago

  • Tracker changed from Bug to Feature
  • TYPO3 Version deleted (11)
Actions #2

Updated by Benni Mack 9 months ago

  • Sprint Focus set to On Location Sprint
Actions

Also available in: Atom PDF