From 7d1af605344e93b289e46c9d5520532b6f2cad15 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Fri, 25 Oct 2002 10:59:26 +0000 Subject: Bug 162990 Shorthand/wildcard entry for login names in assign, cc, qa, fields patch by not_erik@dasbistro.com r=joel, myk --- process_bug.cgi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 427e622c4..54ed0dc8f 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -34,6 +34,8 @@ use lib qw(.); require "CGI.pl"; require "bug_form.pl"; +use Bugzilla::User; + use RelationSet; # Use the Flag module to modify flag data if the user set flags. @@ -86,6 +88,14 @@ if (defined $::FORM{'id'}) { # Make sure there are bugs to process. scalar(@idlist) || ThrowUserError("no_bugs_chosen"); +# do a match on the fields if applicable + +&Bugzilla::User::match_field({ + 'qa_contact' => { 'type' => 'single' }, + 'newcc' => { 'type' => 'multi' }, + 'assigned_to' => { 'type' => 'single' }, +}); + # If we are duping bugs, let's also make sure that we can change # the original. This takes care of issue A on bug 96085. if (defined $::FORM{'dup_id'} && $::FORM{'knob'} eq "duplicate") { -- cgit v1.2.3-24-g4f1b