Bug 14858: removed record length limit test
authorBarton Chittenden <barton@bywatersolutions.com>
Mon, 21 Sep 2015 15:57:43 +0000 (08:57 -0700)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Oct 2015 13:28:29 +0000 (10:28 -0300)
Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/batchRebuildItemsTables.pl

index 2398bdb..61431c4 100755 (executable)
@@ -70,7 +70,6 @@ while ( my ( $biblionumber, $biblioitemnumber, $frameworkcode ) = $sth->fetchrow
     my $record = GetMarcBiblio($biblionumber,1);
     unless ($record){ push @errors, "bad record biblionumber $biblionumber"; next; }
     my ($tmptestfields,$tmptestdirectory,$reclen,$tmptestbaseaddress) = MARC::File::USMARC::_build_tag_directory($record);
-    if ($reclen > 99999) { push @errors,  "bad record length for biblionumber $biblionumber (length : $reclen) "; next; }
     #print "\n################################ record before ##################################\n".$record->as_formatted;#!test
     unless ($test_parameter) {
         my $rqitemnumber=$dbh->prepare("SELECT itemnumber, biblionumber from items where itemnumber = ? and biblionumber = ?");