Issue Bug Closed

#91932element can be stored, although mandatory fields are not filled, using "view" button

Thomas Anders 08/05/20, 11:24 updated 11/06/26, 10:06

Description

Lets assume we’re creating a new content element, in this case a slider with slides as inline relation. There is configured

...
'minitems' => 1
...

so there must be a slide, to save the element.

new-element.png

when clicking “save”, there is a modal that says there are unfilled mandatory fields

alert-on-save.png

nice, so far. But now, clicking on the “view” button while these fields are empty, the “save before view?” modal appear.

save-and-view.png

I think this is a bug and should be fixed.

Reviews 1

Files 3

History 4

  1. Benni Mack commented and changed status New Closed <span data-processor="relativetime" data-value="2026-11-06T10:06:55+00:00" > 11/06/26, 10:06 </span>

    Fixed with https://review.typo3.org/c/Packages/TYPO3.CMS/+/83837 (#103637 / #98333, released for 12.4, 13.4 and main): the “View” button now runs the FormEngine validation and no longer offers “Save changes and view” for an invalid form. Closing as duplicate of #103637.