Bug 31924 - AutoLinkBiblios with Zebra broken by patch from Bug 30280
Summary: AutoLinkBiblios with Zebra broken by patch from Bug 30280
Status: RESOLVED DUPLICATE of bug 33159
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Authority data support (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords: regression
Depends on: 30280
Blocks:
  Show dependency treegraph
 
Reported: 2022-10-21 19:16 UTC by Phil Ringnalda
Modified: 2023-03-17 23:16 UTC (History)
5 users (show)

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 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 ***