aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorendico%mozilla.org <>2000-06-24 05:56:45 +0000
committerendico%mozilla.org <>2000-06-24 05:56:45 +0000
commit93065508a87470c0bb4ba98c235659092e1766fe (patch)
tree7a7ba773b295e3fb67a34bf9dd6bb9cbc9116c90 /importxml.pl
parentfind the path this script lives in and add it to @INC and to the current work... (diff)
downloadbugzilla-93065508a87470c0bb4ba98c235659092e1766fe.tar.gz
bugzilla-93065508a87470c0bb4ba98c235659092e1766fe.tar.bz2
bugzilla-93065508a87470c0bb4ba98c235659092e1766fe.zip
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);