summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-06-18 23:36:58 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-06-18 23:36:58 +0200
commitdba85cb1a880a534b39d33c68f46342863f08b86 (patch)
tree3f4db7537ef9696462c5f69532352fd63362a375
parent9e2881976fa313e5ef253cf1d0c2f95909c8eac3 (diff)
downloadbugzilla-dba85cb1a880a534b39d33c68f46342863f08b86.tar.gz
bugzilla-dba85cb1a880a534b39d33c68f46342863f08b86.tar.xz
Bug 764424 - Cloning a bug does not preserve the whiteboard contents
r=glob
-rwxr-xr-xenter_bug.cgi27
1 files changed, 14 insertions, 13 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 302f84f06..2ee23897b 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -250,19 +250,20 @@ $default{'product'} = $product->name;
if ($cloned_bug_id) {
- $default{'component_'} = $cloned_bug->component;
- $default{'priority'} = $cloned_bug->priority;
- $default{'bug_severity'} = $cloned_bug->bug_severity;
- $default{'rep_platform'} = $cloned_bug->rep_platform;
- $default{'op_sys'} = $cloned_bug->op_sys;
-
- $vars->{'short_desc'} = $cloned_bug->short_desc;
- $vars->{'bug_file_loc'} = $cloned_bug->bug_file_loc;
- $vars->{'keywords'} = $cloned_bug->keywords;
- $vars->{'dependson'} = join (", ", $cloned_bug_id, @{$cloned_bug->dependson});
- $vars->{'blocked'} = join (", ", @{$cloned_bug->blocked});
- $vars->{'deadline'} = $cloned_bug->deadline;
- $vars->{'estimated_time'} = $cloned_bug->estimated_time;
+ $default{'component_'} = $cloned_bug->component;
+ $default{'priority'} = $cloned_bug->priority;
+ $default{'bug_severity'} = $cloned_bug->bug_severity;
+ $default{'rep_platform'} = $cloned_bug->rep_platform;
+ $default{'op_sys'} = $cloned_bug->op_sys;
+
+ $vars->{'short_desc'} = $cloned_bug->short_desc;
+ $vars->{'bug_file_loc'} = $cloned_bug->bug_file_loc;
+ $vars->{'keywords'} = $cloned_bug->keywords;
+ $vars->{'dependson'} = join (", ", $cloned_bug_id, @{$cloned_bug->dependson});
+ $vars->{'blocked'} = join (", ", @{$cloned_bug->blocked});
+ $vars->{'deadline'} = $cloned_bug->deadline;
+ $vars->{'estimated_time'} = $cloned_bug->estimated_time;
+ $vars->{'status_whiteboard'} = $cloned_bug->status_whiteboard;
if (defined $cloned_bug->cc) {
$vars->{'cc'} = join (", ", @{$cloned_bug->cc});