[Koha-bugs] [Bug 31336] New: In-progress background jobs give incorrect progress message
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 10 15:33:12 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31336
Bug ID: 31336
Summary: In-progress background jobs give incorrect progress
message
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrewfh at dubcolib.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 31245
If one loads the background job details page (background_jobs.pl) for a job
that has started but not yet completed, Koha shows a message of "No items
modified."
We should give an accurate message along the lines of "This job is still in
progress."
A completed job lists all of the modified items/bibs/whatever. I'm ambivalent
about whether or not we need to list the already-modified records when loading
this page for an incomplete job.
To recreate:
1 - write a report, SELECT itemnumber FROM items. With the default dev data,
that's 961 items.
2 - use your report to send all of those to batch mod. The page will take a
while to load
3 - while your batch mod page is loading, open background_jobs.pl in another
tab and have it ready to go
4 - modify something in all 961 records -- add a public note or something --
once you submit this job it should take about 45 seconds to complete
5 - BEFORE THE JOB IS DONE - reload background_jobs.pl, see your job is listed
and shows status=started. click to the details view for your job, see it shows
a message of "No items modified."
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31245
[Bug 31245] Job detail view for batch mod explode if job not started
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list