Comment 2 for bug 1840669

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Branch in user/dyrcona/lp1840669-age-auto_renewals (https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dyrcona/lp1840669-age-auto_renewals).

Testing is relatively simple on production data if you're doing circulation aging and auto-renewals already. Just apply the database upgrade and run the action.purge_circulations database function. Then, then check that some aged circulations now have the auto_renew field set to true instead of all NULL. Results will vary depending on what other patches have been applied (cf. bug 1839002 and bug 1835085), on how many auto-renewed circulations are checked in, and your internal flag settings for circulation aging.

Testing with concerto data is similar, but you will need to configure the settings for circulation aging to some very short interval, set up the auto-renewal action triggers, run the action trigger runner, check in auto renewed circulations, wait an appropriate amount of time, and then run the purge circulations database function.

We have tested this at CW MARS with production data in conjunction with the patch for bug 1835577 so that results could be verified via reports.