processwire-issues icon indicating copy to clipboard operation
processwire-issues copied to clipboard

File failed validation error doesn't clear when new image is uploaded

Open adrianbj opened this issue 4 years ago • 0 comments

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:

image

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 :)

adrianbj avatar Jan 29 '21 05:01 adrianbj