https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29697
--- Comment #81 from Jonathan Druart <jonathan.druart+k...@gmail.com> --- (In reply to Joonas Kylmälä from comment #80) > I found another problem, after this patch the zebra rebuild doesn't work: > > root@kohadevbox:koha(master)$ koha-shell kohadev > $ perl misc/migration_tools/rebuild_zebra.pl -b > error retrieving biblio 369 at misc/migration_tools/rebuild_zebra.pl line > 689. It is actually fixing a bug :) Biblio 369 has a bad MARCXML, and so code is expecting this warning (before and after this patch): eval { my $biblio = Koha::Biblios->find($record_number); $marc = $biblio->metadata->record({ embed_items => 1 }); }; if ($@ || !$marc) { # here we do warn since catching an exception # means that the bib was found but failed # to be parsed warn "error retrieving biblio $record_number"; return; } -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/