Bugzilla – Attachment 55748 Details for
Bug 17328
Koha fixes for Mysql 5.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17328 - import_records.marcxml_old requires a value
Bug-17328---importrecordsmarcxmlold-requires-a-val.patch (text/plain), 1.35 KB, created by
Blou
on 2016-09-22 14:04:22 UTC
(
hide
)
Description:
Bug 17328 - import_records.marcxml_old requires a value
Filename:
MIME Type:
Creator:
Blou
Created:
2016-09-22 14:04:22 UTC
Size:
1.35 KB
patch
obsolete
>From f01aea3b165a1598f9708c1fff449b57ef6a8a42 Mon Sep 17 00:00:00 2001 >From: Blou <philippe.blouin@inlibro.com> >Date: Thu, 22 Sep 2016 09:33:53 -0400 >Subject: [PATCH] Bug 17328 - import_records.marcxml_old requires a value > >https://bugs.koha-community.org/show_bug.cgi?id=17238 >--- > C4/ImportBatch.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm >index 88d670d..8c03e96 100644 >--- a/C4/ImportBatch.pm >+++ b/C4/ImportBatch.pm >@@ -1557,9 +1557,9 @@ sub _create_import_record { > my ($batch_id, $record_sequence, $marc_record, $record_type, $encoding, $z3950random, $marc_type) = @_; > > my $dbh = C4::Context->dbh; >- my $sth = $dbh->prepare("INSERT INTO import_records (import_batch_id, record_sequence, marc, marcxml, >+ my $sth = $dbh->prepare("INSERT INTO import_records (import_batch_id, record_sequence, marc, marcxml, marcxml_old, > record_type, encoding, z3950random) >- VALUES (?, ?, ?, ?, ?, ?, ?)"); >+ VALUES (?, ?, ?, ?, '', ?, ?, ?)"); > $sth->execute($batch_id, $record_sequence, $marc_record->as_usmarc(), $marc_record->as_xml($marc_type), > $record_type, $encoding, $z3950random); > my $import_record_id = $dbh->{'mysql_insertid'}; >-- >2.1.0
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 17328
: 55748 |
55749
|
55751
|
55752
|
55841