Project

General

Profile

Actions

Bug #91808

closed

Nested IRRE with maxitems hides last inline control button / toggles inline control buttons wrong

Added by Philipp Thiele almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-07-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In TYPO3 Version 10.4.5 i have configured a nested inline relation:

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

In tx_sitepackage_stageitems i have configured a FAL relation:

'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']
    ),
),

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.


Files


Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #92381: Button "Create new" does not re-appear for inline (IRRE) elements after reaching maxitems and removing one elementClosed2020-09-23

Actions
Related to TYPO3 Core - Bug #78479: FAL field (in flexform) with minitems=1 and maxitems=1 has no possibility to add image after deleting the previous oneClosed2016-10-28

Actions
Related to TYPO3 Core - Bug #92382: levelLinksPosition=bottom is not working correctly especially with minitems=1 set and leads to misbehaviour in inline children Closed2020-09-23

Actions
Related to TYPO3 Core - Bug #93091: Missing "Create new relation"-buttons after deleting the former relationClosed2020-12-16

Actions
Related to TYPO3 Core - Bug #93238: Regression: After deleting image in record "add" button is not displayed againClosed2021-01-07

Actions
Related to TYPO3 Core - Bug #91595: Not all elements displayed as button behave like buttonsClosed2020-06-05

Actions
Actions

Also available in: Atom PDF