[Koha-bugs] [Bug 8298] New: Can't call method "subfield" on an undefined value at Biblio.pm (sub _AddBiblioNoZebra)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jun 23 10:12:13 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8298
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8298
CC: m.de.rooy at rijksmuseum.nl
Assignee: gmcharlt at gmail.com
Summary: Can't call method "subfield" on an undefined value at
Biblio.pm (sub _AddBiblioNoZebra)
Severity: normal
Classification: Unclassified
OS: All
Reporter: veron at veron.ch
Hardware: All
Status: NEW
Version: master
Component: Cataloging
Product: Koha
Koha version: 3.09.00.017
Error message:
Can't call method "subfield" on an undefined value at
/usr/share/koha/lib/C4/Biblio.____pm line 2965.
Reported on koha at lists.katipo.co.nz , 23.June 2012
Occurs in sub _AddBiblioNoZebra
called by sub ModZebra. Line 2730 ((if preference "NoZebra" is set))
Line 2730:
%result = _AddBiblioNoZebra( $biblionumber, $newRecord, $server, %result );
It seems, that $newRecord is not defined, leading to error message above.
See comment on line 2700: " $newRecord is the MARC::Record containing the new
record. It is usefull only when NoZebra=1, (...) "
Workaround:
----------
Set system preference "NoZebra" to "Use"
Questions:
--------
- Should Preference "NoZebra" be removed (since it is depracated and seems to
be broken)
or
- Should the bug be tracked down ($newRecord not defined)?
Marc
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list