Bug 36629

Summary: Wrong status when removing item from waiting list
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: REST APIAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P5 - low CC: 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:
Bug Depends on: 30708    
Bug Blocks:    

Description Tomás Cohen Arazi 2024-04-17 20:31:54 UTC
If the item meets some required conditions, a 404 is returned.
The right code would be 409, conflict.
Comment 1 Jonathan Druart 2024-04-18 06:28:32 UTC
I am not sure, I thought about that at the time.

The waiting list is (currently) an abstract concept as it consists in a list of items with a given status. But we could image it to be a separate DB table at some point.

In that case would not we want to return 404?
Comment 2 Tomás Cohen Arazi 2024-04-18 12:30:21 UTC
Ok, I get it. Hope we can implement it that way soon!.