https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43141
--- Comment #9 from Olivia Reynolds <[email protected]> --- Created attachment 202356 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202356&action=edit Bug 43141: Add cronjob to cancel expired disclaimer prompt requests This cronjob cancels requests that: 1. Have associated type disclaimer prompts. 2. All of which have expired without reply. Test plan (following on from previous patches): 1. Delete all existing ILL requests. 2. Create an ILL request "A" without sending any prompts. 3. Create an ILL request "B", send a prompt and fill it in. 5. Create an ILL request "C", send a prompt and don't fill it in. 6. In the database console, execute the following SQL to force all prompts to expire: UPDATE ill_type_disclaimer_prompts SET valid_until='2000-01-01 11:11:11'; 7. Run: perl misc/cronjobs/cancel_expired_ill_disclaimers.pl -v -t 8. Verify it identifies one request "C" to cancel. 9. Run: perl misc/cronjobs/cancel_expired_ill_disclaimers.pl -v -c 10. Verify request "C" has been cancelled. Sponsored-by: NHS England -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
