[Bug 12478] Elasticsearch support for Koha
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478 --- Comment #208 from Mirko Tietgen <mirko@abunchofthings.net> --- _sanitise_records makes it impossible to create or import authority records and to use Z39.50 authority search. (staff client, Z39.50 and bulkmarcimport.pl) It will fail related to
Can't call method "field" on an undefined value at /home/koha/koha/Koha/ElasticSearch/Indexer.pm line 181.
Without 181 and 182 I am able to create a record in staff client manually and with Z39.50.
# $rec->delete_fields($rec->field('999')); # $rec->append_fields(MARC::Field->new('999','','','c' => $bibnum, 'd' => $bibnum));
It looks like _sanitise_records is biblio-specific and should probably not be used with auth files, or should be changed to handle them correctly. There are still errors with bulkmarcimport with these lines commented out. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org