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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed

--- Comment #74 from Jonathan Druart <[email protected]> ---
 Current version in main:

 329 RECORD: while () {
 330 
 331     my $record;
 332     $record_number++;
 333 
 334     # get record
 335     eval { $record = $batch->next() };
 336     if ($@) {
 337         print "Bad MARC record $record_number: $@ skipped\n";
 338 
 339         # FIXME - because MARC::Batch->next() combines grabbing the next
 340         # blob and parsing it into one operation, a correctable condition
 341         # such as a MARC-8 record claiming that it's UTF-8 can't be
recovered
 342         # from because we don't have access to the original blob.  Note
 343         # that the staging import can deal with this condition (via
 344         # C4::Charset::MarcToUTF8Record) because it doesn't use
MARC::Batch.
 345         next;
 346     }
 347     if ($record) {
 348         $record_number++;
 349 

This is wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to