[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
Fri Mar 20 15:19:23 CET 2015


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

--- Comment #21 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 37046
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37046&action=edit
[PASSED QA] 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;

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list