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: koha-bugs@lists.koha-community.org Reporter: joonas.kylmala@helsinki.fi 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.