Bugzilla – Attachment 14985 Details for
Bug 9523
Trying to import staged marc records where a matched bib has been deleted caused the import to hang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9523 - Trying to import staged marc records where a matched bib has been deleted caused the import to hang
Bug-9523---Trying-to-import-staged-marc-records-wh.patch (text/plain), 1.21 KB, created by
Kyle M Hall (khall)
on 2013-01-31 20:09:07 UTC
(
hide
)
Description:
Bug 9523 - Trying to import staged marc records where a matched bib has been deleted caused the import to hang
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-31 20:09:07 UTC
Size:
1.21 KB
patch
obsolete
>From de7b7359a75877751f9abea235711411ce01bc0f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 31 Jan 2013 15:06:01 -0500 >Subject: [PATCH] Bug 9523 - Trying to import staged marc records where a matched bib has been deleted caused the import to hang > >Test Plan: >1) Stage a MARC records file that will have matches with existing records >2) Delete the bib from Koha that was matched on >3) Attempt to import the records into Koha, the import will hang >4) Apply the patch >5) Reload manage-marc-import.pl and attempt to import again, this time it should succeed. >--- > C4/ImportBatch.pm | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm >index 5f46613..ae32c06 100644 >--- a/C4/ImportBatch.pm >+++ b/C4/ImportBatch.pm >@@ -1034,6 +1034,7 @@ sub GetBestRecordMatch { > > my $dbh = C4::Context->dbh; > my $sth = $dbh->prepare("SELECT candidate_match_id >+ LEFT JOIN biblio ON ( candidate_match_id = biblionumber ) > FROM import_record_matches > WHERE import_record_id = ? > ORDER BY score DESC, candidate_match_id DESC"); >-- >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 9523
:
14985
|
15143
|
15144
|
16079
|
17344