Closed Bug 183388 Opened 23 years ago Closed 23 years ago

email not sent to new assignee or new qa contact when only "added/removed from capacity" selected

Categories

(Bugzilla :: Email Notifications, defect)

All
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: mdrew, Assigned: mdrew)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 If a user sets email prefs to ONLY send email when he is added/removed from assignee, he will NOT get an e-mail if an existing bug is reassigned to him. (He will, however, get an e-mail if an existing bug for which he is the assignee is reassigned to someone else.) The same thing is true for the qa_contact relationship to a bug. Reproducible: Always Steps to Reproduce: 1. Set your e-mail prefs to ONLY send e-mail when you are added/removed from assignee (or qa contact) 2. Ensure that NO OTHER email prefs are selected. 3. Reassign an existing bug (not new entry) that is owned by someone else to yourself. (Ensure that your email prefs are such that you will receive e-mail notifications of changes that you make.) 4. Notice that you do not receive an e-mail. Actual Results: I did not receive an e-mail Expected Results: It should have sent me an e-mail since I was added to the capacity of Owner (or qa contact).
I suppose this is actually two bugs (assignee and qa_contact). I believe I have fixed both in this patch. The assignee problem is the result of the db field "AssignedTo" being referred to incorrectly as "Owner". The qa contact problem is the result of incorrect case. The db field is "QAContact", but the hash key is (should be) "QAcontact" (notice the case).
Attachment #108146 - Flags: review?(jake)
Comment on attachment 108146 [details] [diff] [review] patch for processmail Looks good to me... r=jake
Attachment #108146 - Flags: review?(jake) → review+
-> patch author
Assignee: preed → mdrew
Flags: approval?
Target Milestone: --- → Bugzilla 2.18
Jake, can you check it in?
Flags: approval? → approval+
Checking in processmail; /cvsroot/mozilla/webtools/bugzilla/processmail,v <-- processmail new revision: 1.94; previous revision: 1.93 done
Status: NEW → RESOLVED
Closed: 23 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: