[Koha] Koha sets due date to current date when checking out

Michael Kuhn mik at adminkuhn.ch
Wed Dec 8 10:45:05 NZDT 2021


Hi Christopher

Thanks for your reply! You wrote:

 > I've seen Koha do something like this if there is no rule that applies
 > to the item.  Are you certain the item(s) being checked out has
 > rule(s) that apply?

Yes - because there is only one single circulation rule (for all patron 
categories and all item types). This rule applies to every existing 
item. The problem exists not just with one item but with ALL items.

There was no such problem before the update from Koha 19.11.02 to

The only "solution" we found until now is to always manually set the due 
date before entering the barcode, but of course this is not the way it 
should be.

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch



> Hi
> 
> Our library is working with Debian GNU/Linux 10 and Koha 21.05.05.
> 
> Since the update the check out process does no more respect the circulation conditons regarding the due date (the loan period is 1643
> days) but instead sets the due date to the current date!
> 
> So If I check out a book today the due date is today.
> 
> In logfile "intranet-error.log" the following is reported:
> 
> [Mon Dec 06 12:04:52.123486 2021] [cgi:error] [pid 21882] [client 134.130.93.46:38068] AH01215: Argument "" isn't numeric in addition (+) at /usr/lib/x86_64-linux-gnu/perl5/5.28/DateTime/Duration.pm line 70.:
> /usr/share/koha/intranet/cgi-bin/circ/circulation.pl, referer:
> http://79.143.185.37:18080/cgi-bin/koha/circ/circulation.pl
> [Mon Dec 06 12:04:52.196908 2021] [cgi:error] [pid 21882] [client 134.130.93.46:38068] AH01215: Argument "" isn't numeric in addition (+) at /usr/lib/x86_64-linux-gnu/perl5/5.28/DateTime/Duration.pm line 70.:
> /usr/share/koha/intranet/cgi-bin/circ/circulation.pl, referer:
> http://79.143.185.37:18080/cgi-bin/koha/circ/circulation.pl
> 
> There are no errors in Koha menu "About Koha > System information".
> 
> Is this a bug that I should report?
> 
> Best wishes: Michael
> _______________________________________________
> 
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> 




More information about the Koha mailing list