From: endico%mozilla.org <> Date: Sat, 24 Jun 2000 05:56:45 +0000 (+0000) Subject: include error messages for each bug in the exporter's confirmation mail X-Git-Tag: bugzilla-2.12~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93065508a87470c0bb4ba98c235659092e1766fe;p=thirdparty%2Fbugzilla.git include error messages for each bug in the exporter's confirmation mail --- diff --git a/importxml.pl b/importxml.pl index eeef337081..4310c69f8e 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);