Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-484

Multi-Reason Renewal Error Popup for Single-Loan Renewal

    XMLWordPrintable

Details

    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:

      1. 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-433 and UIU-449)
          • Renewing on this date will not update the due date so renewal is prevented (UIU-429)
        • 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.
      2. 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
      3. 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
      4. 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
      5. 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-449 and UIU-433 so it is not a problem that they share the same failure reason message.
      6. 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
      7. 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

            Activity

              People

                adityamatukumalli Aditya matukumalli
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases