[Koha-bugs] [Bug 22437] Subsequent authority merges in cron may cause biblios to lose authority information

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 15:57:05 CEST 2020


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

Phil Ringnalda <phil at chetcolibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #102444|0                           |1
        is obsolete|                            |

--- Comment #22 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 103298
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103298&action=edit
Bug 22437: Delete older merge requests at new merge time

If you merge A to B, we should remove older AA merges (regular
merge to itself) in the queue before deleting A.

Test plan:
[1] Set merge limit in prefs to say X.
[2] Find three authorities A, B, C with linkcount >X, >X, <X.
[3] Merge C to B. This creates a 'BB merge' in the queue.
    Auth C is deleted.
[4] Merge B to A. Creating AA and BA in the queue.
    Auth B is deleted.
    Optionally verify that BB is no longer in the queue.
[5] Run the merge_authorities.pl cron job.
    Verify that the linkcount to A is the former total of ABC.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Phil Ringnalda <philringnalda at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list