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

Martin Renvoize (ashimema) <[email protected]> changed:

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

--- Comment #19 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 176257
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176257&action=edit
Bug 38505: CanBookBeIssued preparation: Appropriate behavior when barcode is
falsy

Before applying this patch, apply the CanBookBeIssued preparation: tests patch
and run that,
Verify it fails, apply this patch. Run that same tests file again.

----- About this change -----

CanBookBeIssued wants to find one item given a barcode.
If a falsy (undef, empty) barcode is supplied, UNKNOWN_BARCODE should be
returned.

Ensure this change does not introduce any regressions:
prove t/db_dependent/Circulation*
prove t/db_dependent/DecreaseLoanHighHolds.t
prove t/db_dependent/rollingloans.t
prove t/db_dependent/api/v1/checkouts.t
prove t/db_dependent/Patron/Borrower_PrevCheckout.t

Signed-off-by: Ray Delahunty <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
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