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

--- Comment #5 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 202372
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202372&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

Sponsored-by: OpenFifth <https://openfifth.co.uk/\>
Sponsored-by: Westminster City Council <https://www.westminster.gov.uk/\>
Signed-off-by: Hannah Dunne-Howrie <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to