https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43997

            Bug ID: 43997
           Summary: AutoRemoveOverduesRestrictions not correctly enforced
                    with checkouts from multiple libraries
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 26.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

This issue was fixed for 26.11 as part of Bug 10190, which reworks overdue
triggers, but still exists in 26.05 and earlier. When the
AutoRemoveOverduesRestrictions system preference is set to remove restrictions
"if the patron has no remaining items that is cause for debarment," Koha does
not accurately consult the overdue triggers for each issuing branch in order to
determine whether or not the patron should still be debarred.

To recreate:
1 - Set syspref AutoRemoveOverduesRestrictions to "if the patron has no
remaining items that is cause for debarment"
2 - Set syspref OverdueNoticeFrom to "command-line option"
3 - Have a patron of category PT
4 - Set an overdue trigger for Centerville: delay 1, notice: ODUE, restrict:
YES, transport: print
5 - Set an overdue trigger for Fairfield: delay 1, notice: ODUE, restrict: NO,
transport: print
6 - check an item out to your patron at Fairfield with a due date of yesterday
7 - perl misc/cronjobs/overdue_notices.pl -t -v -c
8 - confirm your patron triggers a notice BUT NOT a restriction -- this
checkout is overdue but not cause for debarment
9 - check an item out to your patron at Centerville with a due date of
yesterday
10 - perl misc/cronjobs/overdue_notices.pl -t -v -c
11 - confirm your patron triggers a notice AND a restriction
12 - check in the overdue item that was checked out at Centerville
13 - confirm your patron is still debarred -- the restriction should have been
removed because the remaining overdue item is not cause for debarment

By this same logic, it seems like one should see the debarments *removed* in
error if following the same steps but checking in the Fairfield item at Step
12. I've not been able to get debarments to remove incorrectly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to