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
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user