Bug #91808
Updated by Daniel Goerz almost 4 years ago
In TYPO3 Version 10.4.5 i have configured a nested inline relation:
<pre><code class="php">
'tx_sitepackage_stageitems' => [
'exclude' => 1,
'label' => 'LLL:EXT:sitepackage/Resources/Private/Language/locallang_db.xlf:tt_content.tx_sitepackage_stageitems',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_sitepackage_domain_model_stageitem',
'foreign_field' => 'contentelement',
'minitems' => 1,
'maxitems' => 3,
'appearance' => [
'collapseAll' => 1
],
]
],
</code></pre>
In tx_sitepackage_stageitems i have configured a FAL relation:
<pre><code class="php">
'image' => array(
'exclude' => 0,
'label' => 'LLL:EXT:sitepackage/Resources/Private/Language/locallang_db.xlf:tx_sitepackage_domain_model_stageitem.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image',
[
'appearance' => [
'fileUploadAllowed' => false
],
'minitems' => 1,
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
),
</code></pre>
When an editor adds the last (third) tx_sitepackage_domain_model_stageitem, in this last one no file selector is shown for the image field.
sysext/backend/Resources/Public/JavaScript/FormEngine/Container/InlineControlContainer.js toggles all (even the nested) .t3js-inline-controls, and not only its own.
!https://forge.typo3.org/attachments/download/35342/t3-nested-irre-last-filebrowser-button-not-shown.PNG!