Bug 459402

Summary: When bug is changed, debug message is printed at top of page when no recipients are listed
Product: [Community] Bugzilla Reporter: David Lawrence <dkl>
Component: Email NotificationsAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-25 21:16:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Lawrence 2008-08-18 15:07:23 UTC
When making a change to a bug that does not require sending email notifications to any recipients, a debug message is printed at the top of the page.

No recipient addresses found in header

This is probably a sendmail error being returned from the Bugzilla::Mailer module. We should check for no recipients and then not call the appropriate mailer command or at a minimum capture the mail command output so that it doesn't display in the web UI.

Comment 1 David Lawrence 2008-08-25 20:36:56 UTC
I think what is happening is that a flag change is being made and when the code filters out a flag that a user/role for the bug cannot see, and there are no other changes, the email is sent without a To: recipient. 

Or a person is being requested for a flag on a bug they cannot see.

Dave

Comment 2 David Lawrence 2008-08-25 21:16:50 UTC
Committed a fix to CVS that should fix this. Will show up in the next update.