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: koha-bugs@lists.koha-community.org Reporter: andreas.jonsson@kreablo.se QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com 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.