Bug 29577 - Link bibs to authorities fails if relator terms are in records to be linked
Summary: Link bibs to authorities fails if relator terms are in records to be linked
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: 20.11
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-25 17:00 UTC by Bernard
Modified: 2021-11-25 17:00 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard 2021-11-25 17:00:06 UTC
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