Bug 29839 - Elasticsearch doesn't index non default authority types
Summary: Elasticsearch doesn't index non default authority types
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-10 11:53 UTC by Hugo Agud
Modified: 2023-06-25 10:36 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Agud 2022-01-10 11:53:54 UTC
ElasticSearch is not able to index authorities no configured at koha as default, rebuild gets this error

Can't locate object method "type" via package "Can't call method "tag" on an undefined value at /usr/share/koha/lib/C4/Heading.pm line 71.
" (perhaps you forgot to load "Can't call method "tag" on an undefined value at /usr/share/koha/lib/C4/Heading.pm line 71.
"?) at rebuild_elasticsearch.pl line 312.


If a customer has added a new authoriy like 147, ES is not able to index it, it is not a very common issue, but it could happen.

Authorities at koha are hardcoded and you can 't add on web admin

Kindest regards