Information entered on the show_bug.cgi page is lost when attachment is added




15 years ago
12 years ago


(Reporter: kstevenson, Unassigned)






15 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: 

When making changes to a bug, e.g., changing the severity, the assignee, 
resolution or such, these changes are lost without any message if I also 
attach a file through "Create a new attachment". This forces multiple updates 
and really ticks my users off if they added extensive information in 
the "Additional Comments" field that they want to supplement with an 
attachment, e.g., screen shot.

Reproducible: Always
Steps to Reproduce:
1. Open bug to edit
2. Change information on the showbug.cgi page (enter comment, change severity)
3. Click on "Create a new attachment" and add an attachment of any kind 
without adding a comment.
4. Submit change and go back to the bug. 

Actual Results:  
Only the attachment was added, all other changes and updates are lost.

Expected Results:  
It should have kept the updates to the other field. If a comment was added 
in "Additional Comments" field it should (ideally) show in the comment field 
on the attachment.cgi page.

This was not happening in 2.14.x which I was working with at my previous 

Comment 1

15 years ago
Versions tested: 2.18.rc1 and rc2
Version: unspecified → 2.18


14 years ago
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All


13 years ago
QA Contact: mattyt-bugzilla → default-qa

Comment 2

13 years ago
*** Bug 345508 has been marked as a duplicate of this bug. ***


12 years ago
Assignee: myk → attach-and-request


12 years ago
Duplicate of this bug: 370299

Comment 4

12 years ago
Please note that any navigation away from a changed web page reproduces this except when users click on submit.  AJAX attachments would help resolve this, but implementing onUnload that would call a routine that would check if the user is leaving without using commit having updated the form (possibly by comparing the list of default values versus the list of actual values).  This is generally not critical in most places except when filing or updating a bug.  Users (especially new users) often forget they're using their browser and think they're using the Bugzilla application rather than accessing Bugzilla via their browser.

Comment 5

12 years ago
Correction, onUnload would fix the issue given the circumstances listed above.


12 years ago
Summary: Information entered on the showbug.cgi page is lost when attachment is added → Information entered on the show_bug.cgi page is lost when attachment is added
You need to log in before you can comment on or make changes to this bug.