Defect #600
Browser freezes when adding files in WebClient developer
0%
Description
In Developer - the Plugin is uploading the files OK and my Servoy app is creating the new records but then the browser hangs and I can't select any buttons etc., - usually have to close the Browser and restart. If I have a Desktop client open I can see the new records being created fine - and they are visible when the Browser is restarted.
History
Updated by Patrick Talbot over 12 years ago
I see this happens in OS X Mountain Lion. Unfortunately, I don't have it.
I will need to install it on an external drive and give it a go.
Updated by Graham Greensall over 12 years ago
OK have switched Dev to Win 7 + Java 1.6.0_31.
This has resolved the screen freezing after File upload. Tested 20+ times with single and multiple files and always worked perfectly.
Still have situation that if I do not specify a Path then the File object is not uploaded - system just passes the Filename so cannot extract Bytes/Size etc. Hope folloowing clues are useful...
plugins.MultiFileUploader.callMultiUpload(filesReceived, "uploads", {height:500,width:800......
Sample outputs of vFile from the 'filesReceived' function:
var vFile = plugins.file.convertToJSFile(files[i]);
1) C:\\Servoy_61_crs3\\developer\\uploads\\in\\a\\sub\\About Stacks.pdf
2) Coverbox_TomG.pdf
3) Desert.jpg
4) C:\\Servoy_61_crs3\\developer\\uploads\\uploads\\Koala.jpg
5) C:\\Servoy_61_crs3\\developer\\uploads\\uploads\\Tulips.jpg
1) had "..filesReceived, "in/a/sub", {height.."
2) was "..filesReceived, null, {height.."
3) was empty "..filesReceived, {height.."
4) and 5) are part of 10 file upload with "..filesReceived, "uploads", {height.."
Updated by Patrick Talbot over 12 years ago
Yes, this will definitely help. Thanks for the extended report!