[
https://issues.apache.org/jira/browse/TAP5-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077644#comment-14077644
]
Hudson commented on TAP5-2359:
------------------------------
FAILURE: Integrated in tapestry-trunk-freestyle #1290 (See
[https://builds.apache.org/job/tapestry-trunk-freestyle/1290/])
TAP5-2359: triggering the submit event on the form already submits it, calling
its submit method submits it again (jochen.kemnade: rev
b25c8cde5026b3c9d2f923b0afdac4d6058798cf)
* tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/forms.coffee
> LinkSubmit submits form twice on Internet Explorer 11/Windows 8.1
> -----------------------------------------------------------------
>
> Key: TAP5-2359
> URL: https://issues.apache.org/jira/browse/TAP5-2359
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.4
> Reporter: Michael Wyraz
> Assignee: Jochen Kemnade
> Fix For: 5.4
>
>
> Affected Version is (at least) T5.4-beta-6. I have a simple form that is
> submitted via linksubmit:
> <t:form>
> <t:linksubmit>submit</t:linksubmit>
> </t:form>
> On Internet explorer the form is submitted twice. This also causes a race
> condition so it is not 100% reproducible (but ~80%) and sometimes submits the
> form once with and once without t:formdata (rare case).
> We tracked it down to:
> if (form.trigger("submit")) {
> form.element.submit();
> }
> form.trigger("submit") submits the form the first time, form.element.submit()
> the second time.
--
This message was sent by Atlassian JIRA
(v6.2#6252)