[Koha-bugs] [Bug 12478] Elasticsearch support for Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 17:51:33 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478

--- Comment #208 from Mirko Tietgen <mirko at 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.


More information about the Koha-bugs mailing list