https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34130
Nick Clemens <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #152737|0 |1 is obsolete| | --- Comment #2 from Nick Clemens <[email protected]> --- 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 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
