Bug 6384 - Deleting an item and biblio causes rebuild_zebra to fail
Summary: Deleting an item and biblio causes rebuild_zebra to fail
Status: CLOSED DUPLICATE of bug 6492
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 3.4
Hardware: PC Linux
: P5 - low major
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 19:21 UTC by Bob Ewart
Modified: 2012-10-26 00:41 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***