Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-887

Fail renewal for inactive user

    XMLWordPrintable

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

      1. 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
      2. 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
      3. 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
      4. 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
      5. 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
      6. 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
      7. 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
      8. 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

            Activity

              People

                Unassigned Unassigned
                ecboettcher Emma Boettcher
                Cheryl Malmborg Cheryl Malmborg
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases