Open Bug 413419 Opened 17 years ago Updated 2 months ago

reloaded Enter Bug form with attachment appears to have no attachment

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

3.0.3
defect
Not set
normal

Tracking

()

People

(Reporter: myk, Unassigned)

Details

Attachments

(1 obsolete file)

After filing a bug, I hit my browser's back button and (non force) reloaded the Enter Bug form so that I could use it to file another bug.  The form reverted to the "no attachment" state, but the attachment I had attached to the first bug was actually still there, so I ended up submitting it with the second bug as well.

If the form still contains the attachment information because the browser doesn't remove it from the form upon reload, then the form should reflect that fact.
Note: the bugs in question were bug 413416 and bug 413418.
OS: Linux → All
Hardware: PC → All
So what you are asking for is that the enter_bug form redisplays the attachment block, right? I don't think an onload to clear the attachment when clicking Back will work; or does the browser executes the onload instruction again in this case?
(In reply to comment #2)
> So what you are asking for is that the enter_bug form redisplays the attachment
> block, right?

Sure, that seems like a reasonable fix.

> I don't think an onload to clear the attachment when clicking
> Back will work; or does the browser executes the onload instruction again in
> this case?

I believe it does.
pyrzak, this issue is similar to bug 422520 and so the same fix should work. Could you investigate?
Version: unspecified → 3.0.3
this is different but i know how to fix it. The other bug is a bmo bug, the landfill trunk is working as expected. I didn't work on create yet, but I'll use the same mechanism. This is a trivial fix.
Assignee: create-and-change → guy.pyrzak
Assignee: guy.pyrzak → create-and-change
Attachment #9385366 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: