You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Dennis Waldherr (JIRA)" <ji...@apache.org> on 2015/10/21 10:30:27 UTC

[jira] [Commented] (WICKET-6008) Wicket.Ajax.Call.handleMultipart should use channel

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

Dennis Waldherr commented on WICKET-6008:
-----------------------------------------

Note that is does actually call {{Wicket.ChannelManager.done()}} and might trigger execution of the next ajax call, although the old one is still running.

> Wicket.Ajax.Call.handleMultipart should use channel
> ---------------------------------------------------
>
>                 Key: WICKET-6008
>                 URL: https://issues.apache.org/jira/browse/WICKET-6008
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.13
>            Reporter: Dennis Waldherr
>
> When calling submitForm() it will delegate to handleMultipart().
> It directly calls
> {code}
> form.submit();
> {code}
> This will submit concurrently to the channel ajax requests.
> Although hard to reproduce, this can lead to submits being executed before an ajax request on the channel. The form could get submitted before "other" data was completely transmitted to the server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)