Project

General

Profile

Actions

Bug #94090

open

Unexpected form validation with fal image

Added by Daniel Kempf about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2021-05-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
TCA Form-Validation
Complexity:
Is Regression:
Sprint Focus:

Description

If you have mandatory fields and fal image elements on the same form, you can choose and save an image even though you didn't fill in the mandatory field. Then it is also possible to close the form although you didn't fill in the mandatory field.

I would expect, that as long as mandatory fields are not filled in, it should not be possible to save (new) form data. Otherwise it gives you a undefined state. The user believes everything is alright and does not scrutinize the saved data anymore.

The question now arises whether this behavior is wanted?

This issue came out also in connection with https://forge.typo3.org/issues/94050 .


Files

fal-image-and-mandatory-input-field.jpg (85.1 KB) fal-image-and-mandatory-input-field.jpg Example Daniel Kempf, 2021-05-07 12:29
Actions

Also available in: Atom PDF