Ajax file upload broken in IE8 with Wicket 6.9.0
Hey all, After upgrading to Wicket 6.9.0 our ajax file upload started stalling and on some machines even crashing IE8. Downgrading to 6.8.0 immediately fixed the problem. I verified that the issue is not related to the new jQuery version by downgrading to Wicket 6.8.0 but setting the jQuery resource reference to 1.10.1. File upload still works in that case. I browsed the history of wicket-ajax-jquery.js since 6.8.0 but didn't find anything too suspicious. Does anyone have any idea what could cause the problem or is experiencing the same issues? I can try to create some kind of quickstart if that helps. Cheers, Thomas
Re: Ajax file upload broken in IE8 with Wicket 6.9.0
Hi, Just tested wicket-examples 6.0-SNAPSHOT - Ajax - File Upload Example and it works OK on Windows XP / IE 8. I'll upload 6.9.1 to http://www.wicket-library.com/wicket-examples-6.0.x/ajax/upload?1 so you can test there On Tue, Jul 23, 2013 at 2:30 PM, Thomas Heigl tho...@umschalt.com wrote: Hey all, After upgrading to Wicket 6.9.0 our ajax file upload started stalling and on some machines even crashing IE8. Downgrading to 6.8.0 immediately fixed the problem. I verified that the issue is not related to the new jQuery version by downgrading to Wicket 6.8.0 but setting the jQuery resource reference to 1.10.1. File upload still works in that case. I browsed the history of wicket-ajax-jquery.js since 6.8.0 but didn't find anything too suspicious. Does anyone have any idea what could cause the problem or is experiencing the same issues? I can try to create some kind of quickstart if that helps. Cheers, Thomas
Re: Ajax file upload broken in IE8 with Wicket 6.9.0
Hey Martin, The example works fine. I just tried to narrow the problem down and found that the root cause is using AjaxFormSubmitBehavior(onchange) on the input field. The absolute minimal example that crashes my IE8/XP on the first or second upload is: public class TestPage extends WebPage { public TestPage(PageParameters pp) { super(pp); final FormVoid f = new FormVoid(form); f.setMultiPart(true); add(f); final FileUploadField uploadField = new FileUploadField(fileInput, new ListModelFileUpload()); uploadField.add(new AjaxFormSubmitBehavior(onchange) {}); f.add(uploadField); } } html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket= http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body form wicket:id=form input type=file wicket:id=fileInput / /form /body /html Hope that helps to track the problem down. Thomas On Tue, Jul 23, 2013 at 1:42 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Just tested wicket-examples 6.0-SNAPSHOT - Ajax - File Upload Example and it works OK on Windows XP / IE 8. I'll upload 6.9.1 to http://www.wicket-library.com/wicket-examples-6.0.x/ajax/upload?1 so you can test there On Tue, Jul 23, 2013 at 2:30 PM, Thomas Heigl tho...@umschalt.com wrote: Hey all, After upgrading to Wicket 6.9.0 our ajax file upload started stalling and on some machines even crashing IE8. Downgrading to 6.8.0 immediately fixed the problem. I verified that the issue is not related to the new jQuery version by downgrading to Wicket 6.8.0 but setting the jQuery resource reference to 1.10.1. File upload still works in that case. I browsed the history of wicket-ajax-jquery.js since 6.8.0 but didn't find anything too suspicious. Does anyone have any idea what could cause the problem or is experiencing the same issues? I can try to create some kind of quickstart if that helps. Cheers, Thomas
Re: Ajax file upload broken in IE8 with Wicket 6.9.0
Please pack this code in a quickstart and attach it to a ticket. What do you mean by crash exactly ? Does the process end with segfault or what ? On Tue, Jul 23, 2013 at 4:08 PM, Thomas Heigl tho...@umschalt.com wrote: Hey Martin, The example works fine. I just tried to narrow the problem down and found that the root cause is using AjaxFormSubmitBehavior(onchange) on the input field. The absolute minimal example that crashes my IE8/XP on the first or second upload is: public class TestPage extends WebPage { public TestPage(PageParameters pp) { super(pp); final FormVoid f = new FormVoid(form); f.setMultiPart(true); add(f); final FileUploadField uploadField = new FileUploadField(fileInput, new ListModelFileUpload()); uploadField.add(new AjaxFormSubmitBehavior(onchange) {}); f.add(uploadField); } } html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket= http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body form wicket:id=form input type=file wicket:id=fileInput / /form /body /html Hope that helps to track the problem down. Thomas On Tue, Jul 23, 2013 at 1:42 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Just tested wicket-examples 6.0-SNAPSHOT - Ajax - File Upload Example and it works OK on Windows XP / IE 8. I'll upload 6.9.1 to http://www.wicket-library.com/wicket-examples-6.0.x/ajax/upload?1 so you can test there On Tue, Jul 23, 2013 at 2:30 PM, Thomas Heigl tho...@umschalt.com wrote: Hey all, After upgrading to Wicket 6.9.0 our ajax file upload started stalling and on some machines even crashing IE8. Downgrading to 6.8.0 immediately fixed the problem. I verified that the issue is not related to the new jQuery version by downgrading to Wicket 6.8.0 but setting the jQuery resource reference to 1.10.1. File upload still works in that case. I browsed the history of wicket-ajax-jquery.js since 6.8.0 but didn't find anything too suspicious. Does anyone have any idea what could cause the problem or is experiencing the same issues? I can try to create some kind of quickstart if that helps. Cheers, Thomas
Re: Ajax file upload broken in IE8 with Wicket 6.9.0
Please pack this code in a quickstart and attach it to a ticket. I'll do that. What do you mean by crash exactly ? Does the process end with segfault or what ? IE has 99% CPU usage and does not respond anymore. On Tue, Jul 23, 2013 at 3:10 PM, Martin Grigorov mgrigo...@apache.orgwrote: Please pack this code in a quickstart and attach it to a ticket. What do you mean by crash exactly ? Does the process end with segfault or what ? On Tue, Jul 23, 2013 at 4:08 PM, Thomas Heigl tho...@umschalt.com wrote: Hey Martin, The example works fine. I just tried to narrow the problem down and found that the root cause is using AjaxFormSubmitBehavior(onchange) on the input field. The absolute minimal example that crashes my IE8/XP on the first or second upload is: public class TestPage extends WebPage { public TestPage(PageParameters pp) { super(pp); final FormVoid f = new FormVoid(form); f.setMultiPart(true); add(f); final FileUploadField uploadField = new FileUploadField(fileInput, new ListModelFileUpload()); uploadField.add(new AjaxFormSubmitBehavior(onchange) {}); f.add(uploadField); } } html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket= http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body form wicket:id=form input type=file wicket:id=fileInput / /form /body /html Hope that helps to track the problem down. Thomas On Tue, Jul 23, 2013 at 1:42 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Just tested wicket-examples 6.0-SNAPSHOT - Ajax - File Upload Example and it works OK on Windows XP / IE 8. I'll upload 6.9.1 to http://www.wicket-library.com/wicket-examples-6.0.x/ajax/upload?1 so you can test there On Tue, Jul 23, 2013 at 2:30 PM, Thomas Heigl tho...@umschalt.com wrote: Hey all, After upgrading to Wicket 6.9.0 our ajax file upload started stalling and on some machines even crashing IE8. Downgrading to 6.8.0 immediately fixed the problem. I verified that the issue is not related to the new jQuery version by downgrading to Wicket 6.8.0 but setting the jQuery resource reference to 1.10.1. File upload still works in that case. I browsed the history of wicket-ajax-jquery.js since 6.8.0 but didn't find anything too suspicious. Does anyone have any idea what could cause the problem or is experiencing the same issues? I can try to create some kind of quickstart if that helps. Cheers, Thomas
Re: Ajax file upload broken in IE8 with Wicket 6.9.0
See https://issues.apache.org/jira/browse/WICKET-5283 On Tue, Jul 23, 2013 at 3:12 PM, Thomas Heigl tho...@umschalt.com wrote: Please pack this code in a quickstart and attach it to a ticket. I'll do that. What do you mean by crash exactly ? Does the process end with segfault or what ? IE has 99% CPU usage and does not respond anymore. On Tue, Jul 23, 2013 at 3:10 PM, Martin Grigorov mgrigo...@apache.orgwrote: Please pack this code in a quickstart and attach it to a ticket. What do you mean by crash exactly ? Does the process end with segfault or what ? On Tue, Jul 23, 2013 at 4:08 PM, Thomas Heigl tho...@umschalt.com wrote: Hey Martin, The example works fine. I just tried to narrow the problem down and found that the root cause is using AjaxFormSubmitBehavior(onchange) on the input field. The absolute minimal example that crashes my IE8/XP on the first or second upload is: public class TestPage extends WebPage { public TestPage(PageParameters pp) { super(pp); final FormVoid f = new FormVoid(form); f.setMultiPart(true); add(f); final FileUploadField uploadField = new FileUploadField(fileInput, new ListModelFileUpload()); uploadField.add(new AjaxFormSubmitBehavior(onchange) {}); f.add(uploadField); } } html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket= http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body form wicket:id=form input type=file wicket:id=fileInput / /form /body /html Hope that helps to track the problem down. Thomas On Tue, Jul 23, 2013 at 1:42 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Just tested wicket-examples 6.0-SNAPSHOT - Ajax - File Upload Example and it works OK on Windows XP / IE 8. I'll upload 6.9.1 to http://www.wicket-library.com/wicket-examples-6.0.x/ajax/upload?1 so you can test there On Tue, Jul 23, 2013 at 2:30 PM, Thomas Heigl tho...@umschalt.com wrote: Hey all, After upgrading to Wicket 6.9.0 our ajax file upload started stalling and on some machines even crashing IE8. Downgrading to 6.8.0 immediately fixed the problem. I verified that the issue is not related to the new jQuery version by downgrading to Wicket 6.8.0 but setting the jQuery resource reference to 1.10.1. File upload still works in that case. I browsed the history of wicket-ajax-jquery.js since 6.8.0 but didn't find anything too suspicious. Does anyone have any idea what could cause the problem or is experiencing the same issues? I can try to create some kind of quickstart if that helps. Cheers, Thomas