Commit 246bdeda authored by terry%mozilla.org's avatar terry%mozilla.org

Whoops! Was reporting ASSIGNED bugs as being closed. Also, changed

it to report the resolution of the bug instead of the word "closed". Many thanks to dbaron@fas.harvard.edu for suggesting this change, and reporting the bug.
parent 4eaaf5f6
...@@ -125,12 +125,14 @@ sub DescDependencies { ...@@ -125,12 +125,14 @@ sub DescDependencies {
my @verbose; my @verbose;
my $count = 0; my $count = 0;
foreach my $i (@list) { foreach my $i (@list) {
SendSQL("select bug_status from bugs where bug_id = $i"); SendSQL("select bug_status, resolution from bugs where bug_id = $i");
my ($bug_status) = (FetchSQLData()); my ($bug_status, $resolution) = (FetchSQLData());
my $desc = "[Closed]"; my $desc;
if ($bug_status eq "OPEN" || $bug_status eq "NEW" || if ($bug_status eq "NEW" || $bug_status eq "ASSIGNED" ||
$bug_status eq "REOPENED") { $bug_status eq "REOPENED") {
$desc = ""; $desc = "";
} else {
$desc = "[$resolution]";
} }
push(@verbose, $i . "$desc"); push(@verbose, $i . "$desc");
$count++; $count++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment