[Koha-bugs] [Bug 11700] C4::AuthoritiesMarc::merge enhancements/fixes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 12 13:25:29 CET 2015


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

--- Comment #22 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
OK. I had a closer look. But we are not there yet:

I added some debug prints to the unit test:

warn "L251a"; my @biblios = C4::AuthoritiesMarc::merge($authid2, undef,
$authid1, undef); warn "L251b";

produces this:

L251a at t/db_dependent/AuthoritiesMarc.t line 251.
Use of uninitialized value $self in pattern match (m//) at
/usr/local/share/perl5/MARC/File/XML.pm line 441.
Can't call method "subfield" on an undefined value at
/usr/share/koha/testclone/C4/AuthoritiesMarc.pm line 1483.
# Looks like you planned 15 tests but ran 8.
# Looks like your test exited with 255 just after 8.

Since the 251b warn is not issued anymore, the error is somewhere in the call
to merge..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list