Commit 64dbc1f6 authored by terry%mozilla.org's avatar terry%mozilla.org

Force selection of a valid product when doing a mass

reassign-to-component-owner.
parent 0e1b77bf
...@@ -249,6 +249,11 @@ SWITCH: for ($::FORM{'knob'}) { ...@@ -249,6 +249,11 @@ SWITCH: for ($::FORM{'knob'}) {
last SWITCH; last SWITCH;
}; };
/^reassignbycomponent$/ && do { /^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) { if ($::FORM{'component'} eq $::dontchange) {
print "You must specify a component whose owner should get\n"; print "You must specify a component whose owner should get\n";
print "assigned these bugs.\n"; print "assigned these bugs.\n";
......
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