Project

General

Profile

Actions

Bug #94110

closed

TCA setting minitems + maxitems to 1 causing all validations to fail

Added by Anonymous over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2021-05-11
Due date:
% Done:

100%

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

Description

Tested on TYPO3 v10.4.15 - no third party Extensions installed

For example:

'header' => [
    'config' => [
        'type' => 'input',
        'eval' => 'required'
    ],
],
'image' => [
    'config' => [
        'minitems' => 1,
        'maxitems' => 1
    ]
]
  • Now add a new content element (for example CType = 'textpic' on any page)
  • Select an image
  • Now validation for header or any other validation field will be ignored
  • This is caused by the value 'minitems' => 1 and 'maxitems' => 1
  • This can be reproduced with any TCA field

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #94508: BE form validation was skipped using the save and close buttonClosed2021-07-08

Actions
Related to TYPO3 Core - Bug #94090: Unexpected form validation with fal imageClosed2021-05-07

Actions
Actions

Also available in: Atom PDF