[Koha-bugs] [Bug 26522] New: Elasticsearch - don't attempt to index record if it cannot be retrieved
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 23 19:57:45 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26522
Bug ID: 26522
Summary: Elasticsearch - don't attempt to index record if it
cannot be retrieved
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
In ModZebra we call GetMarcBiblio - this can fail on malformed records.
If it does, we should not attempt to index, otherwsie we get an error:
[Wed Sep 23 14:49:59.978945 2020] [cgi:error] [pid 131451] [client
172.18.0.1:46768] AH01215: [Wed Sep 23 14:49:59 2020] manage-marc-import.pl:
{UNKNOWN}: Can't call method "leader" on an undefined value at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 566. at
/kohadevbox/koha/tools/manage-marc-import.pl line 252:
/kohadevbox/koha/tools/manage-marc-import.pl, referer:
http://localhost:8081/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=2
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list