Bug 25393: (QA follow-up) Report 'too_soon' errors from cron
This patchset made it possible for 'too_soon' to be returned instead of 'auto_too_soon' - we just need to take that into account in the error listing To test: 1 - Set circ rule to no renewal before 2, no auto renewal before 3 2 - Checkout 3 items with auto renew, due tomorrow, in 2 days, in 3 days 3 - perl misc/cronjobs/automatic_renewals.pl -v 4 - Confirm 1 can be renewed, 1 is too soon, 1 is auto too soon Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
fb4a40c34d
commit
d67ab23373
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ while ( my $auto_renew = $auto_renews->next ) {
|
|||
$error eq 'auto_too_late' ||
|
||||
$error eq 'auto_too_much_oweing' ||
|
||||
$error eq 'auto_too_soon' ||
|
||||
$error eq 'too_soon' ||
|
||||
$error eq 'item_denied_renewal' ||
|
||||
$error eq 'item_issued_to_other_patron'
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue