Closed Bug 152935 Opened 22 years ago Closed 22 years ago

Pref for no notification on Target Milestone change not respected.

Categories

(Bugzilla :: Email Notifications, defect)

2.14.2
x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: jodym, Assigned: jodym)

Details

Attachments

(1 file)

I am running Bugzilla 2.14.2 and some of my users have turned off email
notification for "Priority, status, severity, and milestone changes".  However,
notifications are still being sent when the milestone changes.

I posted this problem to n.p.m.webtools and Gerv replied with information on
where to put debugging warnings.  Based on this, I was able to fix the problem.
 It seems that while userprefs.cgi says "Status" controls "Priority, status,
severity, and milestone changes", getEmailAttributes($@) in processmail only
returns "Status" if Severity, Status, or Priority changes.

I will attach a very small patch for your consideration.
The patch looks reversed, but apart from that it looks OK. Is this still a
porblem in HEAD?
Keywords: patch, review
Target Milestone: --- → Bugzilla 2.18
Comment on attachment 88354 [details] [diff] [review]
Patch to add "Target Milestone" check to getEmailAttributes($@)

Yes, this is correct (apart from being reverse) and also a head bug. The patch
even applies to the trunk tip, although with some fuzz and offset. 

Thanks for the patch, Jody!

2xr=jouni
Attachment #88354 - Flags: review+
-> patch author
Assignee: preed → jodym
Fixed.

Checking in processmail;
/cvsroot/mozilla/webtools/bugzilla/processmail,v  <--  processmail
new revision: 1.88; previous revision: 1.87
done

Gerv
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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

Creator:
Created:
Updated:
Size: