[Koha-bugs] [Bug 23382] Issuing rules failing after bug 20912

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 25 16:40:47 CEST 2019


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94759|0                           |1
        is obsolete|                            |

--- Comment #66 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 94777
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94777&action=edit
Bug 23382: Fix logic in C4::Circulation::CanBookBeIssued

It looks like over progressive rebases of bug 20912 a clause was lost
within CanBookBeIssued such that a fatal error may be triggered if an
item with no corresponding itemtype was passed into the routine.

Additionally the we were passing a Koha::Library object to CalcDateDue
rather than a branchcode which resulted in a different duedate being
used in 'CanBookBeIssued' when compared to 'AddIssue'.

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list