Closed Bug 101056 Opened 23 years ago Closed 23 years ago

Edit attachment and login page don't work well together [dataloss]

Categories

(Bugzilla :: Attachments & Requests, defect)

2.10
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: jst, Assigned: myk)

References

Details

(Keywords: dataloss)

Attachments

(2 files)

If you haven't logged in to bugzilla and you go and edit an attachment and click
submit, bugzilla takes you to the login page and once you've logged in bugzilla
says that "One or more of the statuses changed are invalid", or something like
that. If you click back in the browser and go to the edit attachement page again
and click submit again everything work fine...

Annoying.
It's worse than that, several times I have *LOST* long review comments doing
this. After getting this error and backing up the checkbox state is preserved,
but the "Edit As Comment" edits are gone, gone, gone.

Just tonight I've made the same mistake twice before I figured this out.
Happened before I left for home, only I didn't notice the comments were gone and
the assignee wanted to know why I marked "needs work" and didn't say why. Then
at home I typed in all the comments again and the same darn thing happened, only
this time I noticed they were gone. It has not been a good night.
Severity: normal → critical
Keywords: dataloss
Summary: Edit attachment and login page don't work well together... → Edit attachment and login page don't work well together [dataloss]
Comment on attachment 53305 [details] [diff] [review]
patch v1: fixes problem

Seems OK to me... r=gerv.

Gerv
Attachment #53305 - Flags: review+
Comment on attachment 53305 [details] [diff] [review]
patch v1: fixes problem

r= justdave
Attachment #53305 - Flags: review+
/cvsroot/mozilla/webtools/bugzilla/CGI.pl,v  <--  CGI.pl
new revision: 1.112; previous revision: 1.111
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 103322 has been marked as a duplicate of this bug. ***
Because of the severity of the problem, I have applied the patch to b.m.o. 
Effective immediately, this problem is solved on that Bugzilla installation.
Fixed for 2.16
no, really this time :)
Target Milestone: --- → Bugzilla 2.16
Component: Creating/Changing Bugs → attachment and request management
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: