[Koha-bugs] [Bug 28676] New: AutoCreateAuthorities can repeatedly generate authority records when using Default linker and heading is cached
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 7 16:44:21 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28676
Bug ID: 28676
Summary: AutoCreateAuthorities can repeatedly generate
authority records when using Default linker and
heading is cached
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
Bug 25189 avoided creating a new auth if the match_count was greater than 1,
however, when we cache auth results we don't cache match_count, so if the same
heading is searched, we will create a new record again:
C4/Linker/Default.pm
38 if ( $self->{'cache'}->{$search_form.$auth_type}->{'cached'} ) {
39 $authid = $self->{'cache'}->{$search_form.$auth_type}->{'authid'};
40 $fuzzy = $self->{'cache'}->{$search_form.$auth_type}->{'fuzzy'};
41 }
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list