https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26271
Bug ID: 26271
Summary: Call to /api/v1/patrons/<patron_id>/account returns
500 error if manager_id is NULL
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
Making a call to /api/v1/patrons/<patron_id>/account where the patron has an
accountline with manager_id = NULL causes the request to fail with error code
500 because the swagger spec defines only integer as user_id/manager_id type.
It should also accept null types because fines.pl cron seems to create
accountlines with manager_id=NULL.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/