Bug 6384

Summary: Deleting an item and biblio causes rebuild_zebra to fail
Product: Koha Reporter: Bob Ewart <bob-ewart>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED DUPLICATE QA Contact: Bugs List <koha-bugs>
Severity: major    
Priority: P5 - low CC: chobbs, koha.sekjal, magnus
Version: 3.4   
Hardware: PC   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Bob Ewart 2011-05-21 19:21:40 UTC
After deleting an item and the corresponding biblio,
rebuild_zebra.pl -b -a -z >/dev/null
fails with:
Can't call method "field" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 359.


I'm running on openSUSE 11.3 64-bit with Koha 3.4.  The rebuild_zebra is in user Koha's crontab.  

Running rebuild_zebra -a -b -r as koha stops the error
Comment 1 Chris Hobbs 2011-06-09 23:45:18 UTC
Seeing the same issue here. Will try rebuilding with (-b -a -r) as Bob suggests for the time being.

Koha version: 	3.04.00.000
OS version ('uname -a'): 	Linux koha 2.6.31-23-server #75-Ubuntu SMP Fri Mar 18 19:23:09 UTC 2011 x86_64 GNU/Linux
Perl interpreter: 	/usr/bin/perl
Perl version: 	5.010000
Comment 2 Magnus Enger 2011-06-15 08:46:10 UTC

*** This bug has been marked as a duplicate of bug 6492 ***