https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43118
Bug ID: 43118
Summary: library_id in List of baskets should be varchar
instead of integer
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
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]
Target Milestone: ---
branchcodes are VARCHAR and not integers
https://api.koha-community.org/#tag/baskets/operation/listBaskets
in the moment:
library_id | integer or null | Library the basket belongs to
error when calling the API:
message "Expected integer/null - got string."
path "/body/0/library_id"
status 500
example:
api/v1/acquisitions/baskets?q={"basket_id":1}
Test plan:
Go to
/cgi-bin/koha/acqui/basket.pl?basketno=1
Enter a Managing library
then call the API: api/v1/acquisitions/baskets?q={"basket_id":1}
--> Error 500
--
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]
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/