-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IE9 error response undefined #182
Comments
Can you use the non-minified version version of the files and put a breakpoint here : https://github.com/danialfarid/angular-file-upload/blob/master/dist/angular-file-upload-shim.js#L92 |
Thanks for the quick answer. I can't debug the code in IE9 because FileAPI always gives an error "no space in stack". I have activated FileAPI debug mode and include some console.log in file-upload-shim.js in the line you mentioned. FileAPI seems to detect an error, but the response from server is not included neither in
|
You need to use the exact same version of FileAPI that is provided One workaround would be to return different http error codes on the server for different errors and depending on the error status code show messages on the front-end. |
Hi Danial, I'm using exactly the FileAPI version downloaded with angular-file-upload Of course I will try returning different http error codes, but it is a Thanks anyway for all your quick help!! 2014-04-04 20:57 GMT+02:00 Danial Farid notifications@github.com:
|
Hi, I am using the below code for uploading. It's working fine in IE 10,11,Edge, Firefox, Chrome. But in IE9 it's showing response 'undefined'. Upload.upload({ Can you help, please? |
So success is called with undefined response? What does your server sends back? |
Yes, success is called with Undefined response. Thanks & Regards, On Fri, Aug 28, 2015 at 10:10 PM, Danial Farid notifications@github.com
|
well if your server response is empty then you would expect empty data on the client too. |
Did it work for anyone on IE9? I don't think it's problem with my back-end Thanks & Regards, On Sun, Aug 30, 2015 at 9:06 AM, Danial Farid notifications@github.com
|
When uploading a file using IE9 the response received in the error event is always undefined. I can't get the error message received from the server.
In other browser it works perfectly. When the upload is successful everything goes fine. FileAPI is loading fine and also shim js. Why is the response always undefined? Am I doing something wrong?
Can you help, please?
The text was updated successfully, but these errors were encountered: