https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478
--- Comment #208 from Mirko Tietgen <mi...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/