[Koha-bugs] [Bug 12586] New: Record matching rules - Required match checks doesn't work with MARCXML

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 16 16:51:08 CEST 2014


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

            Bug ID: 12586
           Summary: Record matching rules - Required match checks doesn't
                    work with MARCXML
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: gmcharlt at gmail.com
          Reporter: olli-antti.kivilahti at jns.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When trying to Match MARCXML-records from Zebra using Required match checks,
C4::Matcher::_passes_required_checks() tries to make a MARC::Record out of
MARCXML while thinking it is USMARC.
This leads to matching records getting not-matched, and subsequently importing
the same records again and again.

Very hard to debug or create a test case.
I accidentally noticed this while building an automatic acquisitions record
overlay mechanism.
There are no big errors, simply no match is found, even though a match exists.

---------
TEST PLAN
---------
1. Create a Matcher with "Required match checks" in addition to normal checks.
2. Find matches using the C4::Matcher->get_matches() and notice that you don't
find matches.
3. Somebody who is actually using this Matcher could help me out here with
defining a test plan.

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


More information about the Koha-bugs mailing list