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

Loan due date not truncated for patron expiration for some scenarios when CDDM is move to end of PREVIOUS open day

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 22.0.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      EPAM-Veg Sprint 116
    • Story Points:
      2
    • Development Team:
      Vega
    • Release:
      R2 2021 Bugfix

      Description

      Overview:
      Related to implementation of CIRC-886 - truncated due date based on patron expiration. When closed due date management settings equal move to the end of previous open day and the patron expiration is before the previous open day, then the loan due date was incorrect.

      Steps to Reproduce:

      1. Setup a loan policy with Closed due date management equal to move to the end of previous open day and a 5 day loan (Settings > Circulation > Loan policies)
      2. Add loan policy to circulation rules (Settings > Circulation > Circulation rules)
      3. Setup a user with an expiration date that will be prior to the previous open day
      4. Check out item to the user created above that meets conditions of circulation rules and applies the loan policy created above
        • Checked out on 6/3/21
        • To a patron that expired on 6/4/21

      Expected Results:

      • Due date with closed due date management and patron expiration should be 6/3/21, which is the same as check out since patron expiration is 6/4 and that's a closed day.

      Actual Results:

      • Due date is 6/6/21

      Additional Information:

      • Original due date before closed due date management or patron expiration is applied would be: 6/8/21
      • Due date with closed due date management but NOT patron expiration is applied would be: 6/6/21
      • See spreadsheet for two specific use cases that failed, including this one outlined.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roman-barannyk Roman Barannyk
                Reporter:
                dbranchini Darcy Branchini
                Tester Assignee:
                Darcy Branchini Darcy Branchini
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases