Summary: | Job size not correct for indexing jobs | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Architecture, internals, and plumbing | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | normal | ||
Priority: | P5 - low | CC: | lucas, martin.renvoize |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.11.00, 22.05.03
|
|
Circulation function: | |||
Bug Depends on: | 22417 | ||
Bug Blocks: | |||
Attachments: |
Bug 30974: Set size for indexing jobs to 1
Bug 30974: Set size for indexing jobs to 1 |
Description
Jonathan Druart
2022-06-16 08:21:48 UTC
Created attachment 136126 [details] [review] Bug 30974: Set size for indexing jobs to 1 job's size is the number of records to index, but when finished the progress is always set to 1. Wich leads to: finished 1/42 Test plan: Don't apply this patch Use the batch item modification tool to update more than 1 item Notice that the new indexing job has a size of the number of items you modified When finished, the job detail shows "Finished. 1/X" Apply this patch, repeat Notice that now the progress shows 0/1 before the job is done, then 1/1 when finished Created attachment 136137 [details] [review] Bug 30974: Set size for indexing jobs to 1 job's size is the number of records to index, but when finished the progress is always set to 1. Wich leads to: finished 1/42 Test plan: Don't apply this patch Use the batch item modification tool to update more than 1 item Notice that the new indexing job has a size of the number of items you modified When finished, the job detail shows "Finished. 1/X" Apply this patch, repeat Notice that now the progress shows 0/1 before the job is done, then 1/1 when finished Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Another trivial fix, works as described. Passing QA Pushed to master for 22.11. Nice work everyone, thanks! Backported to 22.05.x for 22.05.03 |