Closed Bug 121848 Opened 23 years ago Closed 22 years ago

generate "potential duplicate" warning on twice-submitted form

Categories

(Bugzilla :: Email Notifications, enhancement, P1)

2.15
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 42946

People

(Reporter: myk, Assigned: preed)

Details

This happened recently: Subject: [Bug 99691] nsBoxToBlockAdaptor should not be creating a space manager From: bugzilla-daemon@mozilla.org Date: Thu, 24 Jan 2002 10:59:17 -0800 (PST) To: brendan@mozilla.org http://bugzilla.mozilla.org/show_bug.cgi?id=99691 dbaron@fas.harvard.edu changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #66221 [details] [diff]| |has-review Status| | ------- Additional Comments From dbaron@fas.harvard.edu 2002-01-24 10:59 ------- (From update of attachment 66221 [details] [diff] [review]) r=dbaron, although I wonder whether you want NS_NewBlockFrame or NS_NewAreaFrame. ------- Additional Comments From dbaron@fas.harvard.edu 2002-01-24 10:59 ------- (From update of attachment 66221 [details] [diff] [review]) r=dbaron, although I wonder whether you want NS_NewBlockFrame or NS_NewAreaFrame.
I don't think this is processmail's fault. If you look at bug 99691, comment 8 and 9 are identical to eachother and what's shown in the e-mail. I am really curious how this happened, though.
pretty simple actually... dbaron accidently hit his submit button twice. both processes ran nearly simultaneously on the server... a) process_bug.cgi fires and enters comment 8, then runs processmail on the bug. b) process_bug.cgi fires and enters comment 9, then runs processmail on the bug. c) processmail gets control from step a, and finds both comments already in the bug, so does its duty and reports them. d) processmail gets control from step b, finds nothing on the bug worth reporting (it was already reported by the process running in step c) and doesn't mail anything.
And because step d) didn't create a mid-air collision, the processing code didn't think there was anything abnormal about it... makes sence to me.
Duh, I should have looked at the original bug. So, Bugzilla is doing the half-right thing. The most-right thing would be to warn the user they might be submitting a duplicate change when they submit the same form twice. Changing the summary to reflect this change and reducing severity to enhancement.
Severity: normal → enhancement
Summary: single bug change generates two emails with duplicated comment → generate "potential duplicate" warning on twice-submitted form
Changing default owner of Email Notifications component to JayPee, a.k.a. J. Paul Reed (preed@sigkill.com). Jake will be offline for a few months.
Assignee: jake → preed
Priority: -- → P1
Target Milestone: --- → Bugzilla 2.18
*** This bug has been marked as a duplicate of 42946 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
clearing milestone on all DUPLICATE/WONTFIX/WORKSFORME/INVALID so they'll show up as untriaged if they get reopened. "Jiminy Cricket!" for the filters (and I don't care if it's spelled wrong ;)
Target Milestone: Bugzilla 2.18 → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.