[Koha-bugs] [Bug 10407] Allow MARCXML records to be imported with Tools/ Stage MARC records for import

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 03:01:17 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10407

--- Comment #23 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 53218
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53218
Bug 10407: Allow MARCXML records to be imported via GUI (groundwork)

Review of attachment 53218:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10407&attachment=53218)
-----------------------------------------------------------------

::: C4/ImportBatch.pm
@@ -413,4 @@
>      my $num_items = 0;
>      # FIXME - for now, we're dealing only with bibs
>      my $rec_num = 0;
> -    foreach my $marc_blob (split(/\x1D/, $marc_records)) {

How confusing coding the break in HEX here, but OCT elsewhere.

::: misc/stage_file.pl
@@ +85,4 @@
>  
>  my $dbh = C4::Context->dbh;
>  $dbh->{AutoCommit} = 0;
> +process_batch($format, $input_file, $record_type, $match, $add_items, $batch_comment);

Could we hashref this, please?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list