[Koha-bugs] [Bug 15666] Automatic_renewals.pl fails when OverduesBlockRenewing and RestrictionBlockRenewing are set to "block"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 2 10:22:55 CET 2016


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

--- Comment #8 from Holger Meißner <h.meissner.82 at web.de> ---
(In reply to bondiurbano from comment #2)
> "No renewal before" is an optional setting so it could be absent in the
> rule.

Yes, but bug 14101 introduced a fallback. If the setting is absent (undef) then
automatic renewal works just like "No renewal before" was zero. Do you get
different results with undef and zero??

> Automatic_renewals.pl must be executed BEFORE the item date_due
> expires.
I think this cannot be done with a cron job running just once or a few times
per day. Due date might be any time of the day, especially with hourly loans.

> Otherwise it will be a due item and so OverduesBlockRenewing will
> block it.
Yes, but I suppose that is exactly what should happen, if the patron has both
automatic and manual loans and some of the manual loans are overdue?

But I see the problem! It should renew if ONLY automatic renewals are overdue!
So maybe that's the solution. Check if all overdue loans are automatic, then
override the block?

I need to think about it some more, but does think this makes sense? :)

-- 
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