[Bug 15666] Automatic_renewals.pl fails when OverduesBlockRenewing and RestrictionBlockRenewing are set to "block"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15666 --- Comment #9 from bondiurbano <costalc@gmail.com> --- (In reply to Holger Meißner from comment #8)
(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? :)
Hi Holger! I will check the fallback. Give a couple of days...I think that the fallback definition is right. But I will check. Meanwhile you can see my attached PDF. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org