I've been beating my head over this one and can't figure out how to solve it.
I have a content type with an image field, and I've set minimum dimension requirements for the field. The form to create or edit nodes of this type includes a field of type "managed_file" to deal with the upload of images. When an image is upload and it does not meet the minimum dimension requirements, a nice error message is added via ajax that reads "The specified file xxx could not be uploaded. The image is too small; the minimum dimensions are 150x150 pixels." This is great.
When I then upload a file that does fit all requirements, however, the error message remains.
Is this a bug in Core? Is there a good way to remove error messages in this situation when they are no longer relevant?
Thanks for any help!