Project

General

Profile

Actions

Bug #93238

closed

Regression: After deleting image in record "add" button is not displayed again

Added by Chris Müller almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-01-07
Due date:
% Done:

0%

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

Description

I have a TCA configuration for a record, where one image must be added:

'image' => [
    // ...
    config => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
        'image',
        [
            'appearance' => [
                'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference',
            ],
            'foreign_match_fields' => [
                 'fieldname' => 'image',
                 'tablenames' => 'tx_myext_domain_model_table',
                 'table_local' => 'sys_file',
            ],
            'maxitems' => 1,
            'minitems' => 1,
        ],
        $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
    )
]

When I delete the image, the "Add" button is not displayed again.

This error was introduced with TYPO3 10.4.11, in 10.4.10 it worked like it should.

It seems, it was introduced with #91595.


Related issues 3 (0 open3 closed)

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

Actions
Related to TYPO3 Core - Bug #91808: Nested IRRE with maxitems hides last inline control button / toggles inline control buttons wrongClosed2020-07-16

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

Actions
Actions

Also available in: Atom PDF