[Koha-bugs] [Bug 34468] Add a progress callback to job_progress.js

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 9 10:24:16 CEST 2023


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

--- Comment #6 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to David Nind from comment #5)
> If you could add a test plan, I'll happily have a go at testing.
> 
> For example, what it does, and what to expect before and after the patches
> are applied.

Hi David, thank you!

These patches change the current updateProgress function to accept a progress
callback (a function that is called every time the bar progresses) in addition
to the already existing callback that is called when the progress bar finishes.

It's not expected to change any current behavior in master because
updateProgress is only used once in the stage marc import tool using the
already existing callback, and these patches aim to keep that.

I think the most appropriate test plan here is to make sure it doesn't break
existing functionality, by using the test plan in bug 31666 : 

Test Plan:
1) Apply this patch
2) Stage a marc batch ( preferrably a large one to show the progress updating )
3) Note the new progess bar, verify it functions correctly.

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


More information about the Koha-bugs mailing list