[Koha-bugs] [Bug 32250] link_bibs_to_authorities generates too many background jobs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 22 23:51:23 CEST 2023


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

--- Comment #12 from David Nind <david at davidnind.com> ---
How I tested (using KTD):

1. Start KTD with Elastic search (ktd --es7 up).
2. Update bibliographic record number 73 to remove one of the 010 LCCN numbers.
Otherwise there is an error when running perl misc/link_bibs_to_authorities.pl
-v:
   C4::Biblio::_koha_modify_biblioitem_nonmarc(): DBI Exception: DBD::mysql::st
execute failed: Data too long for column 'lccn' at row 1 at
/kohadevbox/koha/C4/Biblio.pm line 432
3. Set the RealTimeHoldsQueue system preference to Enable.
4. Run the authorities linker: perl misc/link_bibs_to_authorities.pl -v
5. Check the jobs list (Administration > Jobs > Manage jobs). Note that holds
queue jobs were generated.
6. Set the LinkerModule system preference to either first or last match -
alternate this between runs of the linker to ensure changes are made.
7. Rebuild search index (koha-elasticsearch --rebuild -d -b -a kohadev).
8. Run the authorities linker: perl misc/link_bibs_to_authorities.pl -v
9. Check the jobs list (Administration > Jobs > Manage jobs). Note that many
Elasticsearch index jobs are queued.
10. Apply the patches, flush_memcached, restart_all.
11. Change the Set LinkerModule system preference.
12. Run the authorities linker: perl misc/link_bibs_to_authorities.pl -v
13. Check the jobs list (Administration > Jobs > Manage jobs). Note that:
    - There are no hold queue updates
    - That are a smaller number of Elastic search update (3 for me, instead of
an update for each record)

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


More information about the Koha-bugs mailing list