From 346d6ec8bd058b5c7c913e6a49ee324e6ab7f800 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" Date: Tue, 14 Dec 1999 23:54:30 +0000 Subject: [PATCH] Force selection of a valid product when doing a mass reassign-to-component-owner. git-svn-id: svn://10.0.0.236/trunk@56001 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/process_bug.cgi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/webtools/bugzilla/process_bug.cgi b/mozilla/webtools/bugzilla/process_bug.cgi index 761783a9223..63e1147fa9a 100755 --- a/mozilla/webtools/bugzilla/process_bug.cgi +++ b/mozilla/webtools/bugzilla/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";