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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 29 20:47:50 CEST 2021


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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 120318
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120318&action=edit
Bug 28248: aqorders.created_by is nullable

This patch introduces a change to the spec to acknowledge that the field
is nullable. This is fixed in 21.05+ as part of bug 20212.

To test:
1. Have an order with created_by = NULL
2. Use your favourite REST tool (Postman?) to fetch the order
=> FAIL: It throws a nasty error about non-nullable field being null
3. Apply this patch
4. Reload all
5. Repeat 2
=> SUCCESS: It returns things, created_by is NULL, as it should
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list