]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
include error messages for each bug in the exporter's confirmation mail
authorendico%mozilla.org <>
Sat, 24 Jun 2000 05:56:45 +0000 (05:56 +0000)
committerendico%mozilla.org <>
Sat, 24 Jun 2000 05:56:45 +0000 (05:56 +0000)
importxml.pl

index eeef337081861d4deb6c95bbc5ed5b606ce0b348..4310c69f8e76473cdbbc88c7dbce6c86914f5521 100755 (executable)
@@ -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);