summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-12-15 08:54:30 +0100
committerterry%mozilla.org <>1999-12-15 08:54:30 +0100
commit64dbc1f626d0a788a21d7f7895ed1448c2677a0d (patch)
treef1052ee8749e6e20fbe0316ff14c7fb14d438c82 /process_bug.cgi
parent0e1b77bfa5defc91dd29fb86ec5f53646f4abe93 (diff)
downloadbugzilla-64dbc1f626d0a788a21d7f7895ed1448c2677a0d.tar.gz
bugzilla-64dbc1f626d0a788a21d7f7895ed1448c2677a0d.tar.xz
Force selection of a valid product when doing a mass
reassign-to-component-owner.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 761783a92..63e1147fa 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -249,6 +249,11 @@ SWITCH: for ($::FORM{'knob'}) {
last SWITCH;
};
/^reassignbycomponent$/ && do {
+ if ($::FORM{'product'} eq $::dontchange) {
+ print "You must specify a product to help determine the new\n";
+ print "owner of these bugs.\n";
+ exit 0
+ }
if ($::FORM{'component'} eq $::dontchange) {
print "You must specify a component whose owner should get\n";
print "assigned these bugs.\n";