summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-21 06:57:57 +0200
committermkanat%bugzilla.org <>2006-09-21 06:57:57 +0200
commitc6433b10999a9bfe1f26bea4deaba11db3251fc0 (patch)
tree49a274adb031a18a9b3bd7f2641cc9d92a9f5449 /process_bug.cgi
parentf90a0b775e927aad00631ce80d282186a3022af5 (diff)
downloadbugzilla-c6433b10999a9bfe1f26bea4deaba11db3251fc0.tar.gz
bugzilla-c6433b10999a9bfe1f26bea4deaba11db3251fc0.tar.xz
Bug 38922: Default (Initial) CC list for each component
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 1824dd7f3..e671b9d76 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -26,6 +26,7 @@
# Jeff Hedlund <jeff.hedlund@matrixsi.com>
# Frédéric Buclin <LpSolit@gmail.com>
# Lance Larsh <lance.larsh@oracle.com>
+# Akamai Technologies <bugzilla-dev@akamai.com>
# Implementation notes for this file:
#
@@ -1370,6 +1371,18 @@ foreach my $id (@idlist) {
$query .= ", qa_contact = NULL";
}
}
+
+
+
+ # And add in the Default CC for the Component.
+ my $comp_obj = $component || new Bugzilla::Component($new_comp_id);
+ my @new_init_cc = @{$comp_obj->initial_cc};
+ foreach my $cc (@new_init_cc) {
+ # NewCC must be defined or the code below won't insert
+ # any CCs.
+ $cgi->param('newcc') || $cgi->param('newcc', []);
+ $cc_add{$cc->id} = $cc->login;
+ }
}
my %dependencychanged;