diff options
author | bugreport%peshkin.net <> | 2002-10-25 12:59:26 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2002-10-25 12:59:26 +0200 |
commit | 7d1af605344e93b289e46c9d5520532b6f2cad15 (patch) | |
tree | 74e59342af2e8e550c79b379957de26d6a779cf7 /process_bug.cgi | |
parent | 80b04d87987037a62e3755beeca519246d99b319 (diff) | |
download | bugzilla-7d1af605344e93b289e46c9d5520532b6f2cad15.tar.gz bugzilla-7d1af605344e93b289e46c9d5520532b6f2cad15.tar.xz |
Bug 162990 Shorthand/wildcard entry for login names in assign, cc, qa, fields
patch by not_erik@dasbistro.com
r=joel, myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 10 |
1 files changed, 10 insertions, 0 deletions
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") { |