Koha-clms/Koha/BackgroundJob
Hinemoea Viault b99b51deef Bug 37403: Wrong progress quantity in job details
In fact the system adds a previous value to the progress. As if the system keeps a previous value and adds the correct count of records in addition.
This patch removes the previously stored value.

To test:
1. Go to Cataloging > Stage records for import
2. Choose a file with bibliographic records and click Upload file
3. In "Look for existing records in catalog?" choose a record matching rule (e.g. ISBN)
4. Click Stage for import
5. Click View detail of the enqueued job
   --> Progress show 2/1
6. Apply the patch
7. Repeat steps 1 to 4
8. Click View detail of the enqueued job
   --> Progress show 1/1

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>

qa script:
Commit title does not start with 'Bug XXXXX: ' - d1bebb34d7

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Fixed patch subject line
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 929e906187)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-11-19 15:43:39 +00:00
..
BatchCancelHold.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchDeleteAuthority.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchDeleteBiblio.pm Bug 27893: Optionally skip biblio with open orders in batch delete 2024-04-19 18:06:32 +02:00
BatchDeleteItem.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateAuthority.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateBiblio.pm Bug 30943: Simplify background jobs code using helpers 2023-03-13 15:52:19 -03:00
BatchUpdateBiblioHoldsQueue.pm Bug 35979: (follow-up) Add check in ->enqueue 2024-04-26 08:52:54 +02:00
BatchUpdateItem.pm Bug 35843: Correct invalid exception 2024-01-26 15:13:47 +01:00
CreateEHoldingsFromBiblios.pm Bug 34789: Update usage throughout Koha modules and Vue components 2023-09-18 12:06:18 -03:00
ErmSushiHarvester.pm Bug 34587: Improve SUSHI COUNTER error handling 2023-10-31 16:46:25 -03:00
ImportKBARTFile.pm Bug 36935: Add a 'die' message to file parsing 2024-11-18 17:31:15 +00:00
MARCImportCommitBatch.pm Bug 35438: Remove skip_intermediate_commit parameter 2024-01-16 12:06:08 +01:00
MARCImportRevertBatch.pm Bug 32394: Restore long tasks queue 2022-12-14 14:32:27 -03:00
PseudonymizeStatistic.pm Bug 35277: (QA follow-up) POD corrections 2024-01-16 12:06:07 +01:00
StageMARCForImport.pm Bug 37403: Wrong progress quantity in job details 2024-11-19 15:43:39 +00:00
UpdateElasticIndex.pm Bug 33576: (QA follow-up) Polish comment, typo 2023-05-09 10:58:06 -03:00