Bug 31592

Summary: Fix ILL API following new date_due property
Product: Koha Reporter: Andrew Isherwood <bugzilla>
Component: ILLAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P5 - low CC: magnus, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 24239    
Bug Blocks:    

Description Andrew Isherwood 2022-09-21 13:50:55 UTC
Bug 24239 has broken the ILL /illrequests API endpoint. The bug added a date_due property to ILL requests, but the API schema was not updated accordingly, so requests to it now result in:

{"message":"Properties not allowed: due_date.","path":"\/body\/0"}
Comment 1 Andrew Isherwood 2022-09-21 13:57:14 UTC
OK, this is my stupidity, not anyone else's. As part of my work for Bug 30719, I've added an API schema for the ILL request object. That is what's causing this issue, not anything else. I'll just skulk off and hang my head in shame...
Comment 2 Tomás Cohen Arazi (tcohen) 2022-09-21 15:00:43 UTC
(In reply to Andrew Isherwood from comment #1)
> OK, this is my stupidity, not anyone else's. As part of my work for Bug
> 30719, I've added an API schema for the ILL request object. That is what's
> causing this issue, not anything else. I'll just skulk off and hang my head
> in shame...

We all make mistakes from time to time. Take care.