[Koha-bugs] [Bug 29522] Bib record not correctly updated when merging identical authorities with LinkerModule set to First Match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 2 17:28:40 CEST 2023


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

Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caroline.cyr-la-rose at inlibr
                   |                            |o.com

--- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
I managed to recreate this on master.

Here are my system preferences:
- AutoCreateAuthorities = don't generate
- RequireChoosingExistingAuthority = don't require
- AutoLinkBiblios = Do
- CatalogModuleRelink = Do
- LinkerKeepStale = Don't
- LinkerModule = first match
- LinkerRelink = Do

I use Elasticsearch with default mappings.

Here is my complete test plan.

1. Create an authority record
   1.1. Go to Authorities
   1.2. Click on "New authority" and choose an authority type (I chose
Corporate name)*
   1.3. Fill in the mandatory fields (000, 003, 005, 008, 040$c)
   1.4. In tab 1, click on the label of the main heading (110 for Corporate
name)
   1.5. Fill in subfield $a
   1.6. Copy content of subfield $a
   1.7. Click on "Save"
   1.8. Note the authority record number

2. Duplicate the authority record
   2.1. Click on "Edit" and choose "Edit as new (duplicate)"
   2.2. Click on "Save"
   2.3. Click on "No: Save as new authority"
   2.4. Note the authority record number (should be the number from step 1.8
+1)

3. Link one of the authority records to a bibliographic record
   3.1 In another tab, do a catalog search
   3.2. Click on "Edit record" under one of the search results
   3.3. Go to the relevant tab (for corporate name, I used field 710 in tab 7)
        3.3.a. If there are no empty fields for that tag, click the "Repeat
this tag" button (two rectangles)
   3.4. Paste the text previously copied in subfield $a
   3.5. Click on "Link authorities automatically" at the top of the page
   3.6. Note the authority record number in subfield $9
        --> The linked authority record should be the first authority record
(step 1.8)
   3.7. Click on "Save"

4. Merge the two authority records, keep the one that is not linked to the
bibliographic record
   4.1. Go back to the tab with the authorities
   4.2. Click on "Actions" and choose "Merge" for both records 
   4.3. Select the record number that is NOT linked to the bibliographic record
(should be the one already selected)
   4.4. Click on "Next"
   4.5. Click on "Merge"

5. Check the bibliographic record
   5.1. Go back to the tab with the bibliographic record and refresh the page
(Ctrl+F5)
   5.2. Hover the mouse cursor over the name or term, without clicking
   5.3. Note the record number that appears at the bottom of the screen
        --> The record number was not changed

I also tried to run merge_authorities, without success.

*I have found the linker doesn't seem to work in 6XX fields, so for this test
plan, choose something that can go in 7XX (personal name, corporate name, or
meeting name)

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