Your file size validation doesn't consider the case when no max file size is set on the target field. When this happens, it should fall back to the global file max upload size. When both values are zero the validation should pass, because there's no max file size.

CommentFileSizeAuthor
max_file_size.patch761 bytesdieterholvoet

Comments

DieterHolvoet created an issue. See original summary.

  • jefuri committed 52c6d03 on 8.x-1.x authored by DieterHolvoet
    Issue #3030752 by DieterHolvoet: File size validation doesn't consider...
jefuri’s picture

Status: Active » Fixed

Already into dev and the latest alpha, thank you!

jefuri’s picture

Status: Fixed » Closed (fixed)