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
I'm starting an ansyc uploader with showAjaxErrorDetails = true (the default)
When some server-side validation fails i send the following response:
{
"error":"Imagem deve estar na proporção 16:9.",
"initialPreview":[],
"initialPreviewConfig":[],
"initialPreviewThumbTags":[],
"append":true
}
Expected behavior and actual behavior
When I follow those steps, the error message at "error" tag is displayed like this:
I was expecting...
This line with a single dot don't seems very adequate. I know that the white box inside the alert (first image) seems to be appropriate to display a stack trace (as stated here), but not to show a single error message.
Looking trough the code, I found out that this is being built in the _parseError fucniton
I've changed the function so it behaves as the second picture, but I wish to know if there is some way of doing it without changing the source.
thanks.
The text was updated successfully, but these errors were encountered:
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
showAjaxErrorDetails = true
(the default)Expected behavior and actual behavior
When I follow those steps, the error message at "error" tag is displayed like this:
I was expecting...
This line with a single dot don't seems very adequate. I know that the white box inside the alert (first image) seems to be appropriate to display a stack trace (as stated here), but not to show a single error message.
Looking trough the code, I found out that this is being built in the _parseError fucniton
I've changed the function so it behaves as the second picture, but I wish to know if there is some way of doing it without changing the source.
thanks.
The text was updated successfully, but these errors were encountered: