https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22437 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |victor@tuxayo.net --- Comment #17 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Notes on the test, because it's my first time diving in the authorities: - AuthorityMergeLimit set to 2
[2] Find three authorities A, B, C with linkcount >X, >X, <X.
I got A used in 6 records. As shown in /cgi-bin/koha/authorities/detail.pl?authid=NNNN Is that was the linkcount is? I got B used in 9 records. I got C used in 1 records.
Merge C to B
Koha UI «The record chosen as reference will be kept, and the other will be deleted.» So I keep B. Note: They don't have the same framework, it that an issue (the 3 a a different framework)
[3] Merge C to B. This creates a 'BB merge' in the queue.
select * from need_merge_authorities \G shows the merge but I don't know how to check about 'BB merge' is that: authid: 35 (id of B) authid_new: 35 ?
[4] Merge B to A. Creating AA and BA in the queue. select * from need_merge_authorities \G authid: 329 (id of 329) authid_new: 329 (id of 329)
authid: 35 (id of B) authid_new: 329 (id of 329) Look good, and look that answers my previous question.
Optionally verify that BB is no longer in the queue.
yup :)
[5] Run the merge_authorities.pl cron job.
Improvisation about how to run this: kohadev-koha@ff1accab6912:/kohadevbox/koha$ misc/cronjobs/merge_authorities.pl -b -v Started merging Merging auth 329 to 329. Merging auth 35 to 329. Done in 1.47680187225342 seconds Looks good :D
Verify that the linkcount to A is the former total of ABC.
6+9+1 != 15 record(s) Noooooo Wait, isn't that expected due to AuthorityMergeLimit = 2 ? Maybe I'm mixing things up. Also, I reset_all and the check the linked records and there is not overlap between the records of the ABC == request for comments == - Given the above notes, was there a mistake in the execution of the test plan? - What does the last result mean? - given comment 7 should the status of this bug be Needs signoff ? (@Marcel) -- You are receiving this mail because: You are watching all bug changes.