summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorendico%mozilla.org <>2000-06-24 07:56:45 +0200
committerendico%mozilla.org <>2000-06-24 07:56:45 +0200
commit93065508a87470c0bb4ba98c235659092e1766fe (patch)
tree7a7ba773b295e3fb67a34bf9dd6bb9cbc9116c90 /importxml.pl
parent1765489b37d12916f68fe6c1cd14b8cdc693e581 (diff)
downloadbugzilla-93065508a87470c0bb4ba98c235659092e1766fe.tar.gz
bugzilla-93065508a87470c0bb4ba98c235659092e1766fe.tar.xz
include error messages for each bug in the exporter's confirmation mail
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/importxml.pl b/importxml.pl
index eeef33708..4310c69f8 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -555,8 +555,15 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
"($id, $exporterid, now(), " . SqlQuote($long_description) . ")");
$log .= "Bug $bug_fields{'bug_id'}\@$urlbase imported as bug $id.\n";
+ if ($err) {
+ $log .= "The following problems were encountered importing this bug.\n";
+ $log .= "You may have to set certain fields in the new bug by hand.\n";
+ $log .= $err;
+ $log .= "\n\n";
+ }
}
+$log .= "\n\n
my $subject = "$bugqty bug(s) successfully moved from $urlbase to "
. Param("urlbase") ;
my @to = ($exporter);