[Koha-bugs] [Bug 29145] Allow patrons to have overdue items that would not result in debarment when removing overdue debarments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 21 17:01:47 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29145

--- Comment #8 from Andrew Fuerste-Henry <andrewfh at dubcolib.org> ---
David, how's this for a test plan?

1: define overdue notice & status triggers such that a notice and restriction
are generated at 2 days overdue
2: prepare 3 patrons with 1 item overdue by 1 day and 1 item overdue by 2 days.
We'll call these Patron Group A
3: prepare 3 patrons with 2 items 2 days overdue. We'll call these Patron Group
B
4: Run the overdues cron, confirm that notices and restrictions have generated
on all of your patrons as desired
5: set AutoRemoveOverduesRestrictions to Don't.
6: Check in all items for a Group A patron. Confirm no restrictions are lifted.
7: Check in all items for a Group B patron. Confirm no restrictions are lifted.
8: set AutoRemoveOverduesRestrictions to "if patron has no remaining overdue
items"
9: On a Group A patron, check in the 2 day overdue item. Confirm no
restrictions are lifted.
10: On the same patron, check in the 1 day overdue item. Confirm the
restriction is lifted
11: On a Group B patron, check in both items. Confirm the restriction is not
lifted until both are returned.
12: set AutoRemoveOverduesRestrictions to "if patron has no remaining items
that is cause for debarment"
13: On a Group A patron, check in the 2 day overdue item. Confirm the
restriction is lifted.
14: On a Group B patron, check in both items. Confirm the restriction is not
lifted until both are returned.

15: prove t/db_dependent/Circulation/MarkIssueReturned.t

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list