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

--- Comment #21 from Frank Hansen <[email protected]> ---
(In reply to David Nind from comment #20)
> I tested (after making the change in comment #19) using koha-testing-docker.
> 
I finally manage to set up a koha-testing-docker myself. 

> Test plan:

> 
> [1] After importing the authorities, I got an error and had to reindex:
>     
>     misc/migration_tools/bulkmarcimport.pl -v -a -file authorities.mrc
> -insert -c=MARC21
>     Characteristic MARC flavour: MARC21
>     .One or more ElasticSearch errors occurred when indexing documents at
> /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 148.
>     .One or more ElasticSearch errors occurred when indexing documents at
> /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 148.
>     .One or more ElasticSearch errors occurred when indexing documents at
> /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 148.
I didn't got this error. Loading of authority record and bibliographic record
worked fine for me.

> 
> [2] After applying the patch I edited mappings.yaml to remove the nomarc
> entry that was added so the resetting the mappings worked
>     vi admin/searchengine/elasticsearch/mappings.yaml -  remove lines
> 750-754 added by the mapping patch
Yes, normarc should be removed. 

> 
> [3] Not all links to feminism are linked to authority records. Links for
> subject terms for step 9 in order are:
> 
>     Subject(s:) Feminism | feminism | Feminism | Feminism | Idéhistoria |
> Litteratur
> 
>     http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=an:1709
>     http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=an:1710
>     http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=an:1708
>     http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=su:"Feminism";
>     http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=su:"Idéhistoria";
>     http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=su:"Litteratur";
> 
>     MARC info:
> 
>     650 #7 - SUBJECT ADDED ENTRY--TOPICAL TERM
>       a Topical term or geographic name entry element Feminism
>       0 Authority record control number or standard number
> https://id.kb.se/term/sao/Feminism
>       2 Source of heading or term sao
>     650 #7 - SUBJECT ADDED ENTRY--TOPICAL TERM
>       a Topical term or geographic name entry element feminism
>       2 Source of heading or term bnb
>     650 #0 - SUBJECT ADDED ENTRY--TOPICAL TERM
>       a Topical term or geographic name entry element Feminism
>     650 #4 - SUBJECT ADDED ENTRY--TOPICAL TERM
>       a Topical term or geographic name entry element Feminism
>     650 #4 - SUBJECT ADDED ENTRY--TOPICAL TERM
>       a Topical term or geographic name entry element Idéhistoria
>     650 #4 - SUBJECT ADDED ENTRY--TOPICAL TERM
>       a Topical term or geographic name entry element Litteratur

This is actually correct, because the fourth Feminism term has second indicator
4 which means "Source not specified". So this term is only a local term and
does not belonging to any specific thesaurus and thus not linked. To specify a
source of a term, second indicator must be 7. The source of heading is then
specified in subfield 2.

-- 
You are receiving this mail because:
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