[Koha-bugs] [Bug 30691] ElasticSearch Indexer crashes on authtypecode NAME_EVENT
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 5 15:18:57 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30691
--- Comment #2 from Thomas Klausner <domm at plix.at> ---
Test Plan:
* Confirm that you do not have an authtype 'NAME_EVENT' (either in the
DB or /cgi-bin/koha/admin/authtypes.pl
* Enable ElasticSearch
* Create or edit an authoritiy record of type 'MEETI_NAME', make sure
that 111 is empty, and 147 has some content (you might even need to
fiddle with the frameworks to show the 147 form in the editor)
* Note the ID of the auth record
* Run the ES indexer, limited on the auth id:
bin/search_tools/rebuild_elasticsearch.pl -a -v -ai $YOUR_AUTH_ID
* The script will die with a message like:
[2374] Committing final records...
Use of uninitialized value $tag in hash element at
/usr/share/perl5/MARC/Record.pm line 202.
Use of uninitialized value $tag in regexp compilation at
/usr/share/perl5/MARC/Record.pm line 206.
Use of uninitialized value $tag in hash element at
/usr/share/perl5/MARC/Record.pm line 207.
Can't call method "tag" on an undefined value at
/usr/share/koha/lib/C4/Heading.pm line 71.
Now apply the patch.
* Run ES indexer again
* It should now report something like
[2374] Committing final records...
Cannot handle authority type NAME_EVENT for record: 1046314. It seems like
this authority type is not defined in your instance at
/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch.pm line 566.
[2374] Total 1 records indexed
Sponsored-by: Steiermärkische Landesbibliothek
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list