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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8298
                CC: [email protected]
          Assignee: [email protected]
           Summary: Can't call method "subfield" on an undefined value at
                    Biblio.pm (sub _AddBiblioNoZebra)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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 [email protected] , 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.
_______________________________________________
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