Re: [Koha] Auto renewal not working

2021-01-20 Thread Michael Kuhn
Hi Jonathan Today you wrote: > Yes it's now 3 but your original question was about having it > "(empty)" on the UI. > Empty in the DB should never generate a auto_too_late error. > > You get a auto_too_late error when: issue date + no_auto_renewal_after > lengthunit is < $now > So basically if:

Re: [Koha] Auto renewal not working

2021-01-20 Thread Jonathan Druart
Yes it's now 3 but your original question was about having it "(empty)" on the UI. Empty in the DB should never generate a auto_too_late error. You get a auto_too_late error when: issue date + no_auto_renewal_after lengthunit is < $now So basically if: issue date = 15 days ago

Re: [Koha] Auto renewal not working

2021-01-20 Thread Michael Kuhn
Hi Jonathan > auto_too_late can only be set if no_auto_renewal_after or > no_auto_renewal_after_hard_limit are set. > > Check and confirm their values in the DB directly (not from the UI). Rule "no_auto_renewal_after" is set to value 3 in table "circulation_rules": MariaDB [koha_hfs]> select *

Re: [Koha] Auto renewal not working

2021-01-20 Thread Jonathan Druart
Hi Michael, auto_too_late can only be set if no_auto_renewal_after or no_auto_renewal_after_hard_limit are set. Check and confirm their values in the DB directly (not from the UI). Regards, Jonathan Le sam. 16 janv. 2021 à 13:28, Michael Kuhn a écrit : > > Hi > > Our library works with Koha

Re: [Koha] Auto renewal not working

2021-01-20 Thread Michael Kuhn
Hi Katrin On 16 January I have changed "No automatic renewal after" from no value to value 3 and checked out another book. But still the automatic renewal does not work. As we see in table "issues" the value in column "auto_renew" is "1". The value in column "auto_renew_error" changed from

Re: [Koha] Auto renewal not working

2021-01-16 Thread Katrin Fischer
Hi Michael, I haven't tested, but from the message I'd try to see if changing "No automatic renewal after" to non-empty (x days) makes any difference. Maybe leaving it empty doesn't work as expected in this case or the behavior might have changed. Hope this helps, Katrin On 16.01.21 13:28,

[Koha] Auto renewal not working

2021-01-16 Thread Michael Kuhn
Hi Our library works with Koha 20.05.02 on Debian GNU/Linux 10. The automatic renewal doesn't work as expected. These are the relevant circulation rules: * Loan period: 28 * Unit: Days * Renewals allowed (count): 5 * Renewal period: 28 * No renewal before: (empty) - according to