Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Duplicate
-
None
-
None
-
None
-
-
13
-
Vega
-
Medium
Description
Purpose: As a staff member, I need to have renewals for inactive patrons fail, so that I don't extend loans for patrons who lack borrowing privileges.
NOTE: Inactive users include expired users. When a user has expired, then they also become inactive.
Scenarios
- Scenario
- Given an inactive user with an open loan
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window (example for different error attached)
- Renewal status: "Item not renewed: borrower is inactive"
Do not show Override option
- Scenario
- Given an inactive user with an open loan that has reached its maximum number of renewals
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, loan at maximum renewal number"
do not show Override option
- Scenario
- Given an inactive user with an open loan that is non-renewable
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, loan is not renewable"
do not show Override option
- Scenario
- Given an inactive user with an open loan where the loan policy states it's not loanable
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, loan is not loanable"
do not show Override option
- Scenario
- Given an inactive user with an open loan where the renewal date falls outside of the schedule in the fixed loan policy
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, renewal date falls outside of date ranges in fixed loan policy"
do not show Override option
- Scenario
- Given an inactive user with an open loan where the renewal date falls outside of the schedule in the rolling loan policy
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, renewal date falls outside of date ranges in rolling loan policy"
do not show Override option
- Scenario
- Given an inactive user with an open loan where renewal would not change the due date
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, renewal would not change the due date"
do not show Override option
- Scenario
- Given an inactive user with an open loan where the item has been recalled
- When a renewal is attempted on the open loan
- Then fail the renewal, and show the renewal confirmation window
- Renewal status: "Item not renewed: borrower is inactive, items cannot be renewed when there is an active recall request"
do not show Override option
Notes
- Scenarios 2-end can be summarized as "if a renewal fails for multiple reasons and one of them is that the borrower is inactive, don't allow an override
- Wording for the error messages in Scenarios 2-end shouldn't differ from the current error messages, but if it does, the mistake is mine and the original wording should be retained.
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3104 Fail renewal for inactive or expired user and allow override
-
- Open
-