Issue Bug Closed

#95465A record is saved even if a field is not valid

Robert von Hackwitz 10/04/21, 14:12 updated 07/08/24, 19:11

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.