Actions
Feature #96188
openInlineRecordContainer: Does not handle FAL relations for headerThumbnail
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'];
Updated by Jacco van der Post about 3 years ago
- Tracker changed from Bug to Feature
- TYPO3 Version deleted (
11)
Actions