[Koha-bugs] [Bug 29577] New: Link bibs to authorities fails if relator terms are in records to be linked

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 25 18:00:06 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29577

            Bug ID: 29577
           Summary: Link bibs to authorities fails if relator terms are in
                    records to be linked
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: bernard.scaife at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

If you use a relator ($e) in the authority and biblio records and run
link_bibs_to_authorities.pl, it does not link the records although they are a
match

Observed at 20.11.09
Workflow:
1. Add PERSONAL authority record with 100a Berridge, Elizabeth and 100e actor
2. Add new biblio record with 700a Berridge, Elizabeth and 700e actor
NB/ 700 Field should not be under authority control whilst this data is entered
to simulate data that is not linked. Temporarily amend this in cataloguing
template for 700 field
3. Run link biblio script on the new test bib's biblionumber:
sudo koha-shell -c "/usr/share/koha/bin/link_bibs_to_authorities.pl
--bib-limit='biblionumber=<yourbibnumber>' --verbose" <site>
4. Observe log which will say 
Number of bibs checked: 1
Number of headings linked: 0
Number of headings unlinked: 1
5. Remove 100e actor (from authority) and 700e actor (from biblio) and save
6. Rerun linker script (step 3)
Number of bibs checked: 1
Number of headings linked: 1
Number of headings unlinked: 0

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