Closed
Bug 201038
Opened 23 years ago
Closed 23 years ago
textarea is empty after save and back
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 191182
People
(Reporter: mgueury, Unassigned)
References
()
Details
(Whiteboard: [DUPEME])
Attachments
(1 file)
|
6.54 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
There is a testcase with this bug in a zip file.
The problem is that if a HTML form containing a textarea is submitted with
a post. If a lot of circonstance are matched, submitting the form and doing
back.
In a simpler case, it works fine.
The testcase given is really minimal.
- you will see that 3 frame are needed to see this problem.
- that one of the frame will changed during the HTML form filling.
Reproducible: Always
Steps to Reproduce:
Step to reproduce the bug
1) copy the testcase to a WebServer in a directory /its3/
2) with mozilla, go to http://machine.domain.com -> important for the WA only
2) Go to http://machine.domain.com/its3/its3.html
3) Enter some value in the textarea box below : xxxxxxxxx
4) press on the button save.
5) it goes to a html page accepting a POST (here test.jsp).
It is not important that this page exist
6) press back
-> the frame with the textarea is not focused on the textarea
-> the textarea is empty -> the info is lost. (BUG)
7) press back again until to see http://machine.domain.com/
8) Press forward
-> The info is there !!!
Actual Results:
When pressing back, the textarea is empty.
Expected Results:
When pressing back, the textarea should be filed.
Reproduced on Windows and Linux
You can test the problem at the following URL:
> http://users.skynet.be/mgueury/its3/its3.html
Notice that it happens only the first time. Surely because it is the
only time that the right frame changes.
To retest a second time, press SHIFT+Reload
Comment 4•23 years ago
|
||
You have a very old build. Could you try 1.3? This works fine for me.
I have seen this problem with
- Mozilla 1.4 alpha on Linux
- Mozilla 1.3 on Linux
- Mozilla 1.3 on WIndows
Added an URL above to help you to see the problem.
Easier step-by-step
-------------------
1. Go to http://users.skynet.be/mgueury/its3/its3.html
2. Type 'aaaaaa' in the textarea.
3. Press the button save.
4. Post is done to an unexisting page (http-404 of the ISP: ignore this)
5. Press back -> "aaaaa' has disappeared.
Comment 7•23 years ago
|
||
OK, I saw it this time, on WinXP 2003040909. I bet this is a dup of one of our
other frame session history bugs.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [DUPEME]
Comment 8•23 years ago
|
||
dupe of "Formfield-data lost on reload if document resides in a frameset"
*** This bug has been marked as a duplicate of 191182 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•