Project

General

Profile

Actions

Bug #95465

open

A record is saved even if a field is not valid

Added by Robert von Hackwitz over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
Start date:
2021-10-04
Due date:
% Done:

0%

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

Description

If in the TCA configuration a field has the value "email" as "eval" and an invalid email address is entered, the error message is displayed but the record is saved anyway.
I believe, however, the record should not be stored in the database

Same thing for a field configured with eval = "required". For example, if you develop the "processDatamap_postProcessFieldArray" hook in which, for some reason, the value of the field is set to an empty string, after clicking on "save" the form presents the error but the record is saved in the database

Actions #1

Updated by Robert von Hackwitz over 2 years ago

  • Subject changed from Un record viene salvato anche se un campo non รจ valido to A record is saved even if a field is not valid
Actions #2

Updated by Benni Mack over 2 years ago

  • Tracker changed from Feature to Bug
  • TYPO3 Version set to 10
Actions #3

Updated by Benni Mack over 2 years ago

  • Category changed from Backend API to DataHandler aka TCEmain
Actions

Also available in: Atom PDF