I have come across a weird scenario where File upload functionality stops working completely, even it doesn't throw any validation error if you try to upload a file with invalid extension.

Steps to reproduce this bug:-

1. Upload a valid file using File widget
2. Now remove the uploaded file
3. Now try to upload a file type which is not in the allowed extension list

Expected Result: It should throw a validation error saying that File can't be uploaded and should list the allowed file extension names.]

Actual Result: It doesn't throw any error on file element change event and on click of "Upload" button also nothing happens.

Comments

mepushpendra’s picture

Title: Next time file validation and upload does not work after clicking on Remove file button » File validation and upload does not work after clicking on Remove file button
mepushpendra’s picture

Yes David, it is same issue #1074214 which you have mentioned above. Thanks for the info btw.