Bugzilla – Attachment 37047 Details for
Bug 13531
bulkmarcimport bombs if no match is found
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13531 - Follow up
PASSED-QA-Bug-13531---Follow-up.patch (text/plain), 1.16 KB, created by
Kyle M Hall (khall)
on 2015-03-20 14:19:25 UTC
(
hide
)
Description:
[PASSED QA] Bug 13531 - Follow up
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-03-20 14:19:25 UTC
Size:
1.16 KB
patch
obsolete
>From 315788f6a2c42ab161f52c90b260377aa04c8414 Mon Sep 17 00:00:00 2001 >From: Thomas <tomsStudy@gmail.com> >Date: Fri, 23 Jan 2015 12:19:48 +0000 >Subject: [PATCH] [PASSED QA] Bug 13531 - Follow up > >Add logging of errors. > >Signed-off-by: Magnus Enger <magnus@enger.priv.no> >More errors are indeed showing up in the log. >(I took the liberty of changing the commit message a little bit.) > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/migration_tools/bulkmarcimport.pl | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl >index 8838303..8d1f518 100755 >--- a/misc/migration_tools/bulkmarcimport.pl >+++ b/misc/migration_tools/bulkmarcimport.pl >@@ -272,6 +272,7 @@ RECORD: while ( ) { > # changed to warn so able to continue with one broken record > if ( defined $error ) { > warn "unable to search the database for duplicates : $error"; >+ printlog( { id => $id || $originalid || $match, op => "match", status => "ERROR" } ) if ($logfile); > next RECORD; > } > $debug && warn "$query $server : $totalhits"; >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13531
:
35133
|
35147
|
35260
|
35295
|
35486
|
36625
|
37044
|
37045
|
37046
| 37047