file_save_upload() should throw a form error when the file fails to save. Right now it only does that if failing one of the explicitly defined validators. The function returns FALSE though when the file fails to save, so we can use that to set a form error ourselves.

Comments

Tor Arne Thune’s picture

Status: Active » Fixed

Committed and pushed: 5659230.

Tor Arne Thune’s picture

Project: » Contact Attach
Version: » 7.x-1.x-dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.