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

            Bug ID: 23586
           Summary: Issuing rules failing in 19.05
 Change sponsored?: ---
           Product: Koha
           Version: 19.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

A Koha::Library object rather than a branchcode is passed to a database query
causing the rules to never match.

It looks like the bug was introduced in commit
7d71d9507202ff667776bf9cb6de0bf2603ad0dd of bug 20912:

@@ -709,7 +709,7 @@ sub CanBookBeIssued {
     unless ( $duedate ) {
         my $issuedate = $now->clone();

-        my $branch = _GetCircControlBranch($item_unblessed,
$patron_unblessed);
+        my $branch = $circ_library;
         $duedate = CalcDateDue( $issuedate, $effective_itemtype, $branch,
$patron_unblessed );

         # Offline circ calls AddIssue directly, doesn't run through here

-- 
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]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to