[Koha-bugs] [Bug 13895] Add API routes for checkouts retrieval and renewal

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 2 11:57:56 CEST 2016


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

--- Comment #24 from Lari Taskula <larit at student.uef.fi> ---
(In reply to Frédéric Demians from comment #22)
> I've just tried this patch in order to test bug 17005 depending patch. For me
> 4 tests are failing: 23, 24, 26, 27. It seems that each time, I've got this
> error:
> 
>   Can't call method "borrowernumber" on unblessed reference at
>   <base>Koha/REST/V1/Checkout.pm line 81
> 
> It may be due to my testing environment. Can someone confirm that tests are
> still working on master?
It was a small issue in the code. Calling $checkout->borrowernumber on
unblessed reference $checkout, probably meant $checkout->{borrowernumber}
instead, or even don't unbless $checkout(?).

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


More information about the Koha-bugs mailing list