From: lpsolit%gmail.com <> Date: Mon, 28 Dec 2009 01:00:48 +0000 (+0000) Subject: Bug 511216: Assignee is blank in Whine emails - Patch by Kent Rogers r/a=LpSolit --- diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl index e1df9dbad7..44795a55b1 100644 --- a/template/en/default/whine/mail.html.tmpl +++ b/template/en/default/whine/mail.html.tmpl @@ -31,10 +31,6 @@ [% PROCESS global/variables.none.tmpl %] [% PROCESS 'global/field-descs.none.tmpl' %] -[%# assignee_login_string is a literal string used for getting the - # assignee's name out of the bug data %] -[% SET assignee_login_string="map_assigned_to.login_name" %] - @@ -81,7 +77,7 @@ [% bug.bug_severity FILTER html %] [% bug.priority FILTER html %] [% bug.rep_platform FILTER html %] - [% bug.$assignee_login_string FILTER html %] + [% bug.assigned_to FILTER html %] [% get_status(bug.bug_status) FILTER html %] [% get_resolution(bug.resolution) FILTER html %] [% bug.short_desc FILTER html %] diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl index 4375ee13b2..9099f4a657 100644 --- a/template/en/default/whine/mail.txt.tmpl +++ b/template/en/default/whine/mail.txt.tmpl @@ -31,10 +31,6 @@ [% PROCESS global/variables.none.tmpl %] [% PROCESS 'global/field-descs.none.tmpl' %] -[%# assignee_login_string is a literal string used for getting the - # assignee's name out of the bug data %] -[% SET assignee_login_string="map_assigned_to.login_name" %] - [% body %] [% IF author.login == recipient.login %] @@ -56,7 +52,7 @@ Priority: [%+ bug.priority -%] Severity: [%+ bug.bug_severity -%] Platform: [%+ bug.rep_platform %] - Assignee: [%+ bug.$assignee_login_string %] + Assignee: [%+ bug.assigned_to %] Status: [%+ get_status(bug.bug_status) %] [%- IF bug.resolution -%] Resolution: [% get_resolution(bug.resolution) -%] [%- END %] diff --git a/whine.pl b/whine.pl index d8c8e8f4c9..caebc7ad88 100755 --- a/whine.pl +++ b/whine.pl @@ -434,7 +434,6 @@ sub run_queries { bug_status resolution short_desc - assigned_to ); # A new Bugzilla::CGI object needs to be created to allow # Bugzilla::Search to execute a saved query. It's exceedingly weird,