[Koha-bugs] [Bug 13531] bulkmarcimport bombs if no match is found

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 14 21:22:21 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13531

--- Comment #7 from Thomas Wright <tomsStudy at gmail.com> ---
Created attachment 35260
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35260&action=edit
Bug 13531: QA follow up

A minor QA comment.

::: misc/migration_tools/bulkmarcimport.pl
@@ +271,5 @@
>          my ( $error, $results, $totalhits ) = C4::Search::SimpleSearch( $query, 0, 3, [$server] );
> +        # changed to warn so able to continue with one broken record
> +        if ( defined $error ) {
> +            warn "unable to search the database for duplicates : $error";
> +            next;

For consistency with the rest of the script, should this perhaps be:

next RECORD;

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


More information about the Koha-bugs mailing list