Bug 17546

Summary: Importing records with a matching rules fails when using Elastic
Product: Koha Reporter: Kyle M Hall <kyle>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: m.de.rooy, nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Kyle M Hall 2016-11-03 14:42:04 UTC
If the system preference SearchEngine is set to Elasticsearch, attempting to use matching rules fails with the error:

Can't locate object method "fields" via package "MARC::Record=HASH(0x9ce46a8)" (perhaps you forgot to load "MARC::Record=HASH(0x9ce46a8)"?) at /home/vagrant/kohaclone/C4/Biblio.pm line 2713.

It appears that the contents of the variable assumed to be a MARC::Record object are literally a string and not eh object. I was able to narrow down the issue to something going on in C4::Matcher::get_matches.
Comment 1 Nick Clemens 2017-04-03 18:28:14 UTC

*** This bug has been marked as a duplicate of bug 18131 ***