Closed Bug 176477 Opened 22 years ago Closed 20 years ago

Data entered in XHTML forms are not saved when "back" button is pushed

Categories

(Core :: XML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 125166

People

(Reporter: aldo, Assigned: john)

References

Details

- Go to an XHTML form (i.e. a form with content type "text/xml")
- Enter some data.
- Now submit the form.
- Press the back button - the data you entered no longer appears in the form in
question. 
- Change the content type to "text/html"
- Repeat the procedure - the data entered is now persistent. 

Unfortunately this small ease-of-use flaw is near fatal 
for a web-based app we're creating for a client...

Tested with build 2002102209 and Mozilla 1.1 20020913
jkeiser, as long as you're rewriting this stuff, wanna make this work too?  ;)
QA Contact: petersen → rakeshmishra
over to jkeiser... a live testcase would be very helpful here, if possible
Assignee: heikki → jkeiser
I'm seeing this with text/html -- with Mozilla's Bugzilla page:

http://bugzilla.mozilla.org/enter_bug.cgi?product=Browser

Test case:
- request http://bugzilla.mozilla.org/enter_bug.cgi?product=Browser
- in the returned form, do not selected a component in the "Component" list box,
  but enter some text in the text boxes or text areas
- click on the Submit button
- when you get the error page, invoke the "Back" command
- see that the text fields you typed into are blank again
(It works with IE 6.0.  I don't have Netscape 4.x here to confirm that it works
with Netscape 4.x.)

Related to bug 163477.
Oh wait--after I submitted that "Related to..." comment, I clicked "Back" an
the Additional Comments field was not cleared.

Could it depend on whether the response to submitting a form is a page without
a form (when I got the "must select a component" error page) vs. a page with
a form (when I got a form for the next bug in some list)?
This should be a duplicate of bug 202640
Depends on: 202640
No longer depends on: 202640
*** Bug 202640 has been marked as a duplicate of this bug. ***
Related to bug 125166?
More than related, it is a duplicate of 125166
QA Contact: rakeshmishra → ashishbhatt
*** Bug 221332 has been marked as a duplicate of this bug. ***

*** This bug has been marked as a duplicate of 125166 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.