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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
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