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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/