[ 
https://issues.apache.org/jira/browse/WICKET-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306503#comment-16306503
 ] 

Sven Meier commented on WICKET-6515:
------------------------------------

This works fine with Wicket's JavaScript test and Firefox 57.0.3. Please create 
a quickstart.

> Function 'submitMultipartForm' doesn't work correctly in FF
> -----------------------------------------------------------
>
>                 Key: WICKET-6515
>                 URL: https://issues.apache.org/jira/browse/WICKET-6515
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.9.0
>         Environment: Ubuntu 16.04, Firefox 57.0.1 (64 bit)
>            Reporter: Alexey Zlobin
>
> We had done the migration from wicket 6 to wicket 7.9 and after that 
> NextButton with custom AjaxFormSubmitBehavior doesn't work as expected in 
> FireFox (in other browsers it works well). After investigation I found that 
> the reason of this issue lays in this code:
> file: wicket-ajax-jquery.js:979
> // handled, restore state and return true
> form.action = originalFormAction;
> form.target = originalFormTarget;
> form.method = originalFormMethod;
> form.enctype = originalFormEnctype;
> form.encoding = originalFormEncoding;
> For FF it looks like 'form.action' is receive 'originalFormAction' before 
> request (submit) executing. If I comment out this code then 'form.submit()' 
> will work well for FF and for other browsers.
> P.S. Currently I moved this code to handleMultipartComplete but it doesn't 
> cover cases when it will not be completed any way.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to