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@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 002b79c200)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
6dbb2ccb95
commit
87a294010e
|
|
@ -272,7 +272,7 @@ RECORD: while ( ) {
|
|||
# changed to warn so able to continue with one broken record
|
||||
if ( defined $error ) {
|
||||
warn "unable to search the database for duplicates : $error";
|
||||
next;
|
||||
next RECORD;
|
||||
}
|
||||
$debug && warn "$query $server : $totalhits";
|
||||
if ( $results && scalar(@$results) == 1 ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue