Bug 35164 - link_bibs_to_authorities (authority linker) creates empty record index jobs
Summary: link_bibs_to_authorities (authority linker) creates empty record index jobs
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Authority data support (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-26 13:20 UTC by Nick Clemens (kidclamp)
Modified: 2023-10-26 13:20 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2023-10-26 13:20:39 UTC
In the script:
114     if ( not $test_only ) {
115         $schema->txn_commit;
116         $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
117     }


We don't check if @updated_biblios has any members

In elastic indexing, we also never check this - so background jobs with no record numbers get enqueued