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 over 3 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 #1

Updated by Chris Müller almost 4 years ago

  • Related to Bug #91595: Not all elements displayed as button behave like buttons added
Actions #2

Updated by Aristeidis Karavas almost 4 years ago

It is worth mentioning that this happens (AFAIK) when the limit is set to 1

Actions #3

Updated by Česlav Przywara almost 4 years ago

This issue has already been reported - see #93091.

Actions #4

Updated by Česlav Przywara almost 4 years ago

  • Is duplicate of Bug #93091: Missing "Create new relation"-buttons after deleting the former relation added
Actions #5

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67541

Actions #6

Updated by Gerrit Code Review almost 4 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67542

Actions #7

Updated by Gerrit Code Review almost 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67541

Actions #8

Updated by Benni Mack almost 4 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions #10

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #91808: Nested IRRE with maxitems hides last inline control button / toggles inline control buttons wrong added
Actions

Also available in: Atom PDF