When a filefield element set to be required is submitted with the 'delete' checkbox checked, the node is successfully submitted when validation should fail.
I've attached a provisional patch that fixes the problem, although it doesn't set the error message correctly.

Rohan

CommentFileSizeAuthor
filefield-require-fix.patch664 bytesAzzor

Comments

jpetso’s picture

Status: Needs review » Fixed

Thanks for the bug report and the patch... I did not apply this very patch, but a deletion counter was used as well :)
The patch in issue #138919 contains the fix that was committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)