http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8576

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8576
                CC: [email protected]
          Assignee: [email protected]
           Summary: Software error on authority edition when using merge
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to