Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
Description
Purpose: To create a single pop-up that can communicate multiple reasons why a renewal might fail. Currently we have multiple popups (one for each failure reason).
User story:
As a user whose renewal attempt failed
I want to know all the reasons it failed at once
So I can understand what is happening and make an informed decisions as to whether it is okay to override (we don't yet have the ability to do any override, but will be adding it in a later story).
Scenarios:
- Scenario
- Given a single loan is being renewed at once
- When the renewal fails for any reason such as:
- The loan has reached the renewal limit specified in the loan policy (
UIU-448) - The renewal date for Loan L does NOT fall within a date range in Fixed due date schedule associated with the loan (see
UIU-433andUIU-449) - Renewing on this date will not update the due date so renewal is prevented (
UIU-429)
- The loan has reached the renewal limit specified in the loan policy (
- Then:
- Renewal is disallowed
- A modal popup should display reading:
- Header: Loan not renewed
- Body: Loan can't be renewed because: <RenewalFailureReason1>, <RenewalFailureReason2> and <RenewalFailureReason3>. See <LoanPolicyAssociatedwLoan> for more information.
- Buttons: Okay
- NOTE: A renewal failure reason should populate for each reason the renewal failed. Ideally, they would be comma separated with an "and" before the last reason, but if that's too difficult to program, we can just list them with commas.
- Scenario
- Given the <LoanPolicyAssociatedwLoan>
- When I have been assigned the "Settings (Circ): Can create, edit and remove loan policies" permission (either directly or via permission set)
- Then <LoanPolicyAssociatedwLoan> should be a link to the loan policy in Settings
- Scenario
- Given the renewal has failed because the loan has reached the renewal limit specified in the loan policy (
UIU-448) - When the popup displays
- Then the following renewal failure reason should be listed: loan has reached it's maximum number of renewals
- Given the renewal has failed because the loan has reached the renewal limit specified in the loan policy (
- Scenario
- Given the renewal has failed because the renewal date for Loan L does NOT fall within a date range in Fixed due date schedule associated with the loan (
UIU-433) - When the popup displays
- Then the following renewal failure reason should be listed: renewal date falls outside of the date ranges in the loan policy
- Given the renewal has failed because the renewal date for Loan L does NOT fall within a date range in Fixed due date schedule associated with the loan (
- Scenario
- Given the renewal has failed because the renewal date for Loan L does NOT fall within a date range in Fixed due date schedule associated with the loan (
UIU-449) - When the popup displays
- Then the following renewal failure reason should be listed: renewal date falls outside of the date ranges in the loan policy
- NOTE: A loan will never fail for both
UIU-449andUIU-433so it is not a problem that they share the same failure reason message.
- Given the renewal has failed because the renewal date for Loan L does NOT fall within a date range in Fixed due date schedule associated with the loan (
- Scenario
- Given the renewal has failed because renewing on this date will not update the due date so renewal is prevented (
UIU-429) - When the popup displays
- Then the following renewal failure reason should be listed: renewal at this time would not change the due date
- Given the renewal has failed because renewing on this date will not update the due date so renewal is prevented (
- Scenario
- Given the renewal has failed because the loan policy for the item states that the item is non-renewable
- When the popup displays
- Then the following renewal failure reason should be listed: Items with this loan policy cannot be renewed
TestRail: Results
Attachments
Issue Links
- blocks
-
UIU-467 Truncate Renewal Period According to Fixed due date schedule (due date limit)
-
- Closed
-
- is blocked by
-
CIRC-100 Endpoint to renew a loan by barcode
-
- Closed
-
-
UIU-538 move to the renewal API for loan renewal action
-
- Closed
-
- relates to
-
FOLIO-1101 Move Renewal Due Date Logic to the Server
-
- Closed
-
-
UICHKOUT-428 Multi-Reason Checkout Error Popup for Checkout
-
- Draft
-
-
UIU-526 Bulk Renew Loans Messaging
-
- Closed
-
-
UIU-429 Prevent Renewal if new calculated due date is less than or equal to current due date
-
- Closed
-
-
UIU-433 Get Alternate Fixed Renewal Period from Loan Policy
-
- Closed
-
-
UIU-448 Renewal Limit
-
- Closed
-
-
UIU-449 Get Fixed Renewal Period from Loan Policy
-
- Closed
-
-
UIU-724 Show failure reason on bulk action confirmation modal
-
- Closed
-