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

            Bug ID: 27784
           Summary: Unknown authority types break elasticsearch
                    authorities indexing
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: [email protected]
          Reporter: [email protected]

We are seeing more libraries ending up with 'SUBDIV' type authority records in
their systems. Koha has no support for these.

They can be added to the authority types in the staff interface, however,
values are hardcoded in various modules and Koha has no concept of how to link
a subfield heading to a record, we only deal in whole fields

The larger problem is something to think about, but more directly we should not
allow indexing to die when an unknown type is encountered

To recreate:
1 - Import a subdivision authority record via Z39 or use the one attached to
this bug
2 - perl misc/search_tools/rebuild_elasticsearch.pl -v -d
3 - Authority indexing dies:
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 /kohadevbox/koha/C4/Heading.pm
line 71.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to