summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-03-06 08:08:23 +0100
committerterry%netscape.com <>1999-03-06 08:08:23 +0100
commite2709ad366fe63537f987ca6167dc0ac697a6846 (patch)
treef2261b19e1a0edc2b429c262a68e9b73051de9b2 /sanitycheck.cgi
parent04fa4c5f8080d8b34eedbc083b3a4a322fbd937c (diff)
downloadbugzilla-e2709ad366fe63537f987ca6167dc0ac697a6846.tar.gz
bugzilla-e2709ad366fe63537f987ca6167dc0ac697a6846.tar.xz
Check qa_contact IDs.
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi9
1 files changed, 6 insertions, 3 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index db9c092eb..0d2f4072f 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -107,13 +107,13 @@ while (@row = FetchSQLData()) {
undef $profid{0};
-Status("Checking reporter/assigned_to ids");
-SendSQL("select bug_id,reporter,assigned_to from bugs");
+Status("Checking reporter/assigned_to/qa_contact ids");
+SendSQL("select bug_id,reporter,assigned_to,qa_contact from bugs");
my %bugid;
while (@row = FetchSQLData()) {
- my($id, $reporter, $assigned_to) = (@row);
+ my($id, $reporter, $assigned_to, $qa_contact) = (@row);
$bugid{$id} = 1;
if (!defined $profid{$reporter}) {
Alert("Bad reporter $reporter in " . BugLink($id));
@@ -121,6 +121,9 @@ while (@row = FetchSQLData()) {
if (!defined $profid{$assigned_to}) {
Alert("Bad assigned_to $assigned_to in" . BugLink($id));
}
+ if ($qa_contact != 0 && !defined $profid{$qa_contact}) {
+ Alert("Bad qa_contact $qa_contact in" . BugLink($id));
+ }
}
Status("Checking CC table");