[Koha-devel] Autorenewals renewing an item then sending a renew failure email the next day

David Cook dcook at prosentient.com.au
Fri Nov 16 05:58:00 CET 2018


Hi all,

 

I've found a case where autorenewals will renew an item one day (e.g.
Monday) and the next day (e.g. Tuesday) it will say that a hold has been
found and that it can't renew the item. (Someone must've put a hold on the
item between the two cronjob runs.)

 

It seems to me this is a bug in how C4::Circulation::CanBookBeRenewed is
written. 

 

The first check it makes is for holds and if it finds a hold it returns an
error. 

 

However, if you're using autorenewals, you should first check to see if it's
too early to even bother renewing. 

 

I'm just emailing here to see if anyone else is having this issue, or if
anyone knows if there is already a Bugzilla issue open for it. It seems like
there are a lot of autorenewal Bugzilla issues but I couldn't find anything.
Figure asking first lessens the need for someone to mark one as a duplicate
later.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20181116/1b6c13a5/attachment.html>


More information about the Koha-devel mailing list