Summary: | automatic_renewals.pl should run before overdues and fines are generated | ||
---|---|---|---|
Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
Component: | Architecture, internals, and plumbing | Assignee: | Kyle M Hall (khall) <kyle> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | ||
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 16798 - automatic_renewals.pl should run before overdues and fines are generated |
Description
Kyle M Hall (khall)
2016-06-22 11:28:02 UTC
Created attachment 52679 [details] [review] Bug 16798 - automatic_renewals.pl should run before overdues and fines are generated Unless an auto_renew item's circ rule has a "no renewal before" line set, it will only auto-renew at the point where the item is technically overdue. However, automatic_renewal.pl in etc/cron.daily/koha-common is set to run *after* all those cronjobs! Test Plan: 1) On a package installation, set up an item to auto_renew with no "no renewal before" rule. 2) On the morning it is autorenewed it should also have a fine 3) Change the cronjob order to that of this patch 4) Repeat step 1 5) On the morning it is autorenewed it should not have a fine |