[Koha-bugs] [Bug 28248] New: Exception when getting all orders

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 28 16:27:52 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28248

            Bug ID: 28248
           Summary: Exception when getting all orders
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: somesecretemail at mailinator.com

Making a get request against /api/v1/acquisitions/orders/ generates the
following exception when aqorders.created_by is null i database

[2021-04-28 14:10:21.48828] [600131] [warn] OpenAPI >>> GET
api/v1/acquisitions/orders/ [{"message":"Expected integer - got
null.","path":"\/0\/created_by"},{"message":"Expected integer - got
null.","path":"\/1\/created_by"},{"message":"Expected integer - got
null.","path":"\/2\/created_by"},{"message":"Expected integer - got
null.","path":"\/3\/created_by"},{"message":"Expected integer - got
null.","path":"\/4\/created_by"},{"message":"Expected integer - got null."

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list