[Koha-bugs] [Bug 35418] SUSHI harvest hangs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 29 21:35:24 CET 2023


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

--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 159374
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159374&action=edit
Bug 35418: Fix _get_usage_months

No longer falls in an endless loop if the last month in the report period is
december.

Test plan:
1) Apply just the tests patch, run EUsage tests
prove t/db_dependent/Koha/ERM/EUsage/
2) Wait for a few seconds. Notice SushiCounter.t it hangs. CTRL+C (cancel it)
3) Apply the fix patch.
4) Run the tests again. Notice all EUsage tests pass with no issues.

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Andrew Auld <andrew.auld at ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list