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

Truncate due date based on patron expiration when renewing

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 22.1.0
    • Labels:
      None
    • Template:
    • Sprint:
      EPAM-Veg Sprint 117, EPAM-Veg Sprint 118
    • Story Points:
      5
    • Development Team:
      Vega
    • Confidence factor:
      High

      Description

      Purpose: When RENEWING an item, don't allow items to be due after the patron has expired.

      Scenarios

      1. Scenario - Summary of scenarios below
        • Given a RENEWAL for an item for a user with an expiration date X
        • When the calculated due date according to the circulation rule is date Y, after X
        • Then truncate the item’s due date and time to the latest date and time where the service point is open, and the user is not expired
      2. Scenario
        • Given a RENEWAL for an active user with an expiration date, and triggering a loan policy with closed library due date management set to one of the following:
          • Move to the end of the previous open day
          • Move to end of next open day
        • When the calculated due date, factoring in closed library due date management, is after the patron's expiration date
        • Then truncate the due date to the end of the last open day before the patron expires
      3. Scenario
        • Given a RENEWAL for an active user with an expiration date, and triggering a loan policy with closed library due date management set to one of the following:
          • Keep the current due date
          • Keep the current due date/time
        • When the calculated due date, factoring in closed due date management, is after the patron's expiration date
        • Then truncate the due date to the patron's expiration date and time
      4. Scenario
        • Given a RENEWAL for an active user with an expiration date, and triggering a loan policy with closed library due date management set to one of the following:
          • Move to the end of the current service point hours
          • Move to beginning of next open service point hours
        • When the calculated due date/time, factoring in closed library due date management, is after the patron's expiration date
        • Then truncate the due date to the end of the last open service point hours before the patron expires

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roman-barannyk Roman Barannyk
                Reporter:
                ecboettcher Emma Boettcher
                Tester Assignee:
                Cheryl Malmborg Cheryl Malmborg
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases