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!
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
*** This bug has been marked as a duplicate of bug 11144 ***