https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32942 Bug ID: 32942 Summary: Suggestion API is broken Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: arthur.suzuki@biblibre.com CC: tomascohen@gmail.com To reproduce, create a couple of suggestion and set them to status either blank or "ORDERED". Query the api to fetch all the suggestions : https://[your koha]/api/v1/suggestions If any of the suggestion you would like to get with a query has no status, or not within fixed list of values, you would get this error message : <pre> {"errors":[{"message":"Not in enum list: ASKED, CHECKED, ACCEPTED, REJECTED.","path":"\/1\/status"}],"status":200} </pre> A suggestion may also have status "ORDERED" which is not in the list, or no status at all. API should not throw this error on status and give the other details for the suggestion instead. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.