Bug #93574

TCA group db with minitems = 1 cannot be fulfilled

Added by Rico Drexler 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-02-23
Due date:
% Done:

100%

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

Description

I have a TCA field with minitems = 1 (test) and a field with minitems = 1 and size = 1 (test_size).

        'test' => [
            'exclude' => true,
            'label' => 'Test with minitems',
            'config' => [
                'type' => 'group',
                'internal_type' => 'db',
                'allowed' => 'pages',
                'minitems' => 1,
            ],
        ],
        'test_size' => [
            'exclude' => true,
            'label' => 'Test with minitems (size 1)',
            'config' => [
                'type' => 'group',
                'internal_type' => 'db',
                'allowed' => 'pages',
                'minitems' => 1,
                'size' => 1,
            ],
        ],

With the TCA field "test" the condition only becomes true if you click on the word "Spielwiese", otherwise you cannot save. (see image)

With the TCA field "test_size" I have not found a way to fulfill the condition, so you can never save the entry.

I only have this bug in version 10.4.13. The bug does not exist in version 10.4.12.


Files

minitems_bug.PNG (11.5 KB) minitems_bug.PNG Rico Drexler, 2021-02-23 13:07

Related issues

Related to TYPO3 Core - Bug #93699: begroup pagetypes_select always has validation errorClosedAndreas Fernandez2021-03-10

Actions

Also available in: Atom PDF