Bug 31924

Summary: AutoLinkBiblios with Zebra broken by patch from Bug 30280
Product: Koha Reporter: Phil Ringnalda <phil>
Component: MARC Authority data supportAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: arm, dcook, frank.hansen, nick, tsycko
Version: MainKeywords: regression
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33159
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32916
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 30280    
Bug Blocks:    

Description Phil Ringnalda 2022-10-21 19:16:26 UTC
With AutoLinkBiblios set to "Do", when you save a biblio after adding an authority-controlled field, it should be linked to the matching authority. With the patch from bug 30280, it no longer is.

Steps to reproduce:

1. Set AutoLinkBiblios to "Do".
2. Edit any bib record which does not already have a subject heading for "Perl (Computer language)".
3. Add a new 650 tag, with subfield a containing Perl (Computer language) and save the record
4. Re-edit the record, note that there is no authority record number in subfield 9 of the added 650.
5. git checkout 7a829606a46f5d3c2056ce9da5134ce293d584ad and verify that the steps above resulted in an authority record number in subfield 9 on the parent revision
Comment 1 Phil Ringnalda 2022-10-21 20:59:30 UTC
Ah, Zebra-only. With Elasticsearch, it will be linked, with Zebra, it won't be linked (and with AutoCreateAuthorities enabled, a new authority record will be created, so apparently the linker is running and attempting to link and its search returns no matches, so AutoCreateAuthorities believes it should create a new authority record).
Comment 2 Katrin Fischer 2022-11-17 13:03:47 UTC
(In reply to Frank Hansen from comment #56)
> (In reply to Katrin Fischer from comment #55)
> > hi Frank, could you maybe have a look at the new bugs in Blocks? bug 31924
> > and bug 31925.
> 

> I'n not an expert on Zebra. Probably the new
> subject-heading-thesaurus-conventions index needs to be set up in Zebra as
> well. I'm not 100% certain how to do that. 

That might give us a starting point.
Comment 3 Phil Ringnalda 2023-03-17 23:16:58 UTC
Fixed in bug 33159

*** This bug has been marked as a duplicate of bug 33159 ***