https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40920
Bug ID: 40920
Summary: Checkout endpoint crashes with parameter "patron_id"
Change sponsored?: ---
Product: Koha
Version: 24.11
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
A call to /api/v1/checkouts?patron_id=51 crashes Koha.
We get this in the logs:
Unknown column 'patron_id' in 'WHERE' at
/home/koha/src/Koha/REST/Plugin/Objects.pm
I tried to replace patron_id parameter with "borrowernumber" in the request but
it crashes as well as borrowernumber is not a valid input.
This is a regression from 23.11 we experienced in 24.11 and main.
I've made a small patch to solve this but there is probably a better way to do
it.
--
You are receiving this mail because:
You are the assignee for the bug.
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/