Closed
Bug 209375
Opened 22 years ago
Closed 22 years ago
Form apparently submitted twice; second time empty
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jonas, Assigned: dveditz)
References
()
Details
Attachments
(5 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030612
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030612
This page is for booking train tickets. (It's in Swedish but it's a fairly
obvious form.) When I enter my travel information and click on the OK button I
get the same form again with all the form fields empty. After reviewing the
network traffic (with Ethereal) it seems like the form is actually submitted
twice; once correctly and once empty. It works flawlessly with any 1.4 (or
earlier) build. The problem didn't occur until immediately after the 1.5 branch.
Reproducible: Always
Steps to Reproduce:
1. Fill in some stations from the two drop downs on the right
2. Click the "Tur & Retur" (return trip) radio button
3. Click the OK button at the bottom (next to the big red arrow)
4. Sometimes this will get you to the correct page for entering the return trip
date; choose a return date and click OK again
Actual Results:
The original form is shown again without any form data
Expected Results:
The next form should be shown allowing me to select a return trip and then pick
a departure time from the list of suggestions.
Working: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030611
Not working: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030612
Reproducibility is actually "Almost every time" as it occasionally works for at
least a few form submissions; I have never been able to complete the booking of
a ticket though.
Reporter | ||
Comment 1•22 years ago
|
||
Note the extra GET near the end.
Reporter | ||
Comment 2•22 years ago
|
||
Reporter | ||
Comment 3•22 years ago
|
||
I've researched this a bit further; when loading a form containing an input of
type "image" the page is immediately requested again via a GET. I.e. it is not
actually a form _submission_ bug but a form _parsing_ bug. I'm not sure which
component that would be though.
There seems to be a race condition involved concerning which of the requests
that actually gets displayed in the browser.
Reporter | ||
Comment 4•22 years ago
|
||
Reporter | ||
Updated•22 years ago
|
Attachment #125655 -
Attachment mime type: application/x-perl → text/plain
Reporter | ||
Comment 6•22 years ago
|
||
changing component to Form Manager as per comment #3
Component: Form Submission → Form Manager
Reporter | ||
Comment 7•22 years ago
|
||
Here's a test case for this bug. It's available in the wild att
http://www.init.se/~jonas/bug209375.asp
If you click on the POST button a couple of times you'll see both counters
getting incremented. In Mozilla 1.4 only one counter at a time gets incremented
which of course is the expected behaviour.
Reporter | ||
Comment 8•22 years ago
|
||
*** Bug 212518 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 9•22 years ago
|
||
It comes from bug 212518 which is a duplicate of this bug.
Comment 10•22 years ago
|
||
*** Bug 209764 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 11•22 years ago
|
||
Reassigning...
Assignee: form-submission → dveditz+bmo
QA Contact: ashishbhatt → tpreston
Reporter | ||
Comment 12•22 years ago
|
||
This bug got fixed on July 22 by some other bugfix; possibly by the fix for bug
213333.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 13•17 years ago
|
||
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0
Verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•