Bug 35125 - AutoCreateAuthorities creates separate authorities when thesaurus differs, even with LinkerConsiderThesaurus set to Don't
Summary: AutoCreateAuthorities creates separate authorities when thesaurus differs, ev...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-21 00:20 UTC by Phil Ringnalda
Modified: 2023-10-21 00:26 UTC (History)
2 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 2023-10-21 00:20:29 UTC
Setup:

* Set AutoCreateAuthorities to generate, AutoLinkBiblios to Do, CatalogModuleRelink to Do (and  EnableAdvancedCatalogingEditor to enable if you want to make your life easier)
* Ensure that LinkerConsiderThesaurus is at the default Don't
* Make sure you don't have a genre authority record for Boring stories

Add the following headings to a bib record and save it

655 _ _ ‡aBoring stories
655 _ 0 ‡aBoring stories
655 _ 4 ‡aBoring stories
655 _ 7 ‡aBoring stories‡2gsafd
655 _ 7 ‡aBoring stories‡2lcgft

Note that you now have each heading linked to a different authid, and you have five genre authority records for Boring stories, all identical.

If instead you already had a Boring stories authority record (no matter the thesaurus) before saving the record, they would have all been linked to it.
Comment 1 Phil Ringnalda 2023-10-21 00:26:24 UTC
Seems like it must be from the linker caching with $thesaurus in the key, and only Heading knowing that LinkerConsiderThesaurus is Don't, but it's not obvious why.