Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2359

LinkSubmit submits form twice on Internet Explorer 11/Windows 8.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jkemnade Jochen Kemnade
              Reporter:
              michael@wyraz.de Michael Wyraz
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: