You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
The issue still exists against the latest master branch of bootstrap-fileinput.
This is not an usage question. I confirm having read the plugin documentation and demos.
This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
I have attempted to find the simplest possible steps to reproduce the issue.
I have included a failing test as a pull request (Optional).
Steps to reproduce the issue
Create the simpliest bootstrap-fileinput installation (like from docs)
Set dummy uploadUrl to make it work in async mode
Try to "upload" any file
Expected behavior and actual behavior
When I follow these steps, I see flashing error message and then "Done" message in progress bar
I was expecting that failed upload will result in failed status in the progress bar.
Yes, if the plugin works with preview enabled, then preview icons are showing errors.
Also, the frame around file is red, it's good.
But progress bar is still green on error.
I find this confusing to users - when the user uploads invalid file, user sees green "Done" progressbar.
Is there any way to show progressbar red with error message, not changing to "Done" right away?
Is it expected behaviour or bug?
I've tried to solve it on my website and eventually I found that it is reproduceable with the simpliest config from docs (I can share it if needed).
This should not be the case normally - as the plugin shows the error progress template when error is encountered generally. Can you mention the configuration and your specific use case which can be reproduced (a JS BIN example)?
When I upload the file, of course it fails, but the "Done" line is green.
I specially reproduced it like this, because my actual website uses the older version and it's customized, so I've decided to make a simple example, to not go into much details.
P.S. I think there is smth wrong with docs - I needed to replace buffer.min.js and filetype.min.js with unminified versions to get the example working.
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
Expected behavior and actual behavior
When I follow these steps, I see flashing error message and then "Done" message in progress bar
I was expecting that failed upload will result in failed status in the progress bar.
Yes, if the plugin works with preview enabled, then preview icons are showing errors.
Also, the frame around file is red, it's good.
But progress bar is still green on error.
I find this confusing to users - when the user uploads invalid file, user sees green "Done" progressbar.
Is there any way to show progressbar red with error message, not changing to "Done" right away?
Is it expected behaviour or bug?
I've tried to solve it on my website and eventually I found that it is reproduceable with the simpliest config from docs (I can share it if needed).
Thank you and thank you for a great plugin!
Environment
Browsers
Operating System
Libraries
Isolating the problem
The text was updated successfully, but these errors were encountered: