processwire-issues
processwire-issues copied to clipboard
File failed validation error doesn't clear when new image is uploaded
Short description of the issue
If a user uploads a file that doesn't validate, an exception is thrown by InputfieldFile.module that looks like this:

The problem is that when you upload another file (without saving the page), then error remains so the user doesn't know whether the new file is OK or not.
Expected behavior
The error should be cleared when a new file is uploaded.
Actual behavior
It isn't removed :)