In the HEAD version for Drupal 5, even if the "Required" field is checked, the item is in fact not required and the node can be previewed and submitted without any errors even if no file is included.

CommentFileSizeAuthor
#2 filefield-required.patch682 bytesEgon Bianchet

Comments

drewish’s picture

i just updated from the DRUPAL-5 branch to HEAD and that version required that a file be uploaded but didn't mark the form element as required (i.e. no red *). When I get some time I'll do some diffing and see if I can figure out what broke it.

Egon Bianchet’s picture

Status: Active » Needs review
StatusFileSize
new682 bytes

Fixed the error label too

jpetso’s picture

Status: Needs review » Fixed

Fixed in a more general way by the patch in #138919. Thanks for the input and the patch nevertheless!

Anonymous’s picture

Status: Fixed » Closed (fixed)