Thank you for reporting this bug. We will make it our priority to review this report.
File upload works in IE 11, but not Firefox or Chrome
File upload works in IE 11, but not Firefox or Chrome
I have a sneaking suspicion that the file upload in Ext JS 5.0.1 may be broken, at least in Firefox 33.1 and Chrome 38.0.2125.122 m on Windows 8.1.
Neither Chrome nor Firefox let you spy on a form upload POST but capturing traffic in IE 11 shows the request body, but what's more important, my web service actually receives the file (which is all that matters!).
I initially thought my "old" method of receiving an upload might have been broken with a change from .NET 4.0 to 4.5, but using IE 11 to upload to my "old" service method works just fine with Ext JS 5.0.1.
It's only Chrome and Firefox which are broken. Maybe they are both disallowing the secret funny business that goes on behind the scenes when Ext JS tries to work with the hidden IFRAME? Or perhaps there is a bona fide bug here.
Don't even think of asking me to create a Fiddle for this. I'm just going to tell my users to use IE to upload files for now.
What do you mean by broken? The file doesn't get sent at all? Is corrupted somehow? Unable to read the response? I'm not able to reproduce it using the KS, see: http://ift.tt/1Ag2NJ6
The 3rd panel actually uploads to the server using a PHP script. I just uploaded a test image (alt.png) and I got the following response from the server (attached).
Tested in Chrome 38.0.xxxxx.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
It seems strange that code I've been using for 3 years on the server side suddenly would decide to receive files sent from Ext JS 5.0.1 in IE 11 only, and ignore Chrome and Firefox.
I'm not ruling out some strange bug of my own creation here, but I would have expected my server code never to work from all browsers, or always to work with all browsers.
I will have to keep plodding on with the IE-only support for now because I've spent far too much time troubleshooting this already. Perhaps it is only a .NET bug, but if it is, God knows how long it'll take to find the pesky thing.
File upload works in IE 11, but not Firefox or Chrome
Aucun commentaire:
Enregistrer un commentaire