[Koha-bugs] [Bug 8576] New: Software error on authority edition when using merge
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 6 14:59:41 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8576
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8576
CC: m.de.rooy at rijksmuseum.nl
Assignee: gmcharlt at gmail.com
Summary: Software error on authority edition when using merge
Severity: critical
Classification: Unclassified
OS: All
Reporter: fridolyn.somers at biblibre.com
Hardware: All
Status: NEW
Version: master
Component: Cataloging
Product: Koha
When using the update of biblios on authorities edition (managed by 'dontmerge'
syspref), and when biblionumber is on a control field (< 10) :
When editing or creating an authority, you get a software error :
"Software error:
Control fields (generally, just tags below 010) do not have subfields, use
data() at /usr/share/perl5/MARC/Record.pm line 239
For help, ..."
This comes from the fact that, to find biblionumber in a record, one must check
if biblio.biblionumber is mapped on a control field to call
"$record->field($tagfield)->data" instead if
"$record->subfield($tagfield,$tagsubfield)".
It was also missing in batchImportMARCWithBiblionumbers.pl.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list