Bug 31592 - Fix ILL API following new date_due property
Summary: Fix ILL API following new date_due property
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: ILL (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 24239
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-21 13:50 UTC by Andrew Isherwood
Modified: 2023-06-08 22:26 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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.