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

--- Comment #2 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 201556
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201556&action=edit
Bug 42790: Add missing Scalar::Util import in Koha::REST::V1::Bookings

The error handling in add() already calls blessed() but the module
never imported it, so hitting the Koha::Exceptions::Booking::Clash
catch branch died with an undefined subroutine error (masked as a 500
either way, but for the wrong reason).

Test plan:
1) prove t/db_dependent/api/v1/bookings.t

-- 
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