https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41437 Bug ID: 41437 Summary: Setting RestrictionBlockRenewing to block can cause extra auto renewals to sent Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com To recreate: 0. Set RestrictionBlockRenewing to 'block' 1. Set up a patron for auto rewenal and then check something out to them. Make sure the patron has an email address and has messaging preferences set to receive auto renewals. 2. Now do something that would make an auto renewal fail. I placed the item from step 1 on hold for someone else. 2. Run the auto renewals cron ( perl /kohadevbox/koha/misc/cronjobs/automatic_renewals.pl -c -v ) 3. A notice should be generated telling the patron the thing cannot renew with the error code of `on_reserve`. ( good ) 4. Restrict the patron, doing this manually is fine. 5. Run the auto renewals cron again. 6. Another auto rewenal is sent tell the patron the thing cannot renew with the error code `restriction`. ( bad ) This is confusing. The item is still on hold, we shouldn't inform the patron that the items cannot auto renew, they already know! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.