[Koha-bugs] [Bug 34130] ILL requests table won't load if request_placed date is null
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 27 15:40:10 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34130
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #152737|0 |1
is obsolete| |
--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 152741
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152741&action=edit
Bug 34130: Make requested_date nullable in api definition
This patch allows the requested_date for an ILL request to be NULL to
accomodate
older data
To test:
1 - Install the Koha 2 Koha ILL plugin:
https://gitlab.com/koha-community/plugins/koha-plugin-ill-koha
2 - Enable the ILL system preference
3 - Force an ILL request with minimal data from backend:
INSERT INTO illrequests
(borrowernumber,biblio_id,branchcode,backend,status) VALUES
(5,3,'CPL','Koha','placed');
4 - View the ILL table
5 - Error:
{"message":"Expected string - got
null.","path":"\/body\/0\/requested_date"}
6 - Apply patch
7 - Table loads successfully
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list