Summary: | REST API: Checkout | ||
---|---|---|---|
Product: | Koha | Reporter: | Lari Taskula <lari.taskula> |
Component: | REST API | Assignee: | Danyon Sewell <danyonsewell> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | new feature | ||
Priority: | P5 - low | CC: | danyonsewell, martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 24400: Rest API for checkout WIP
Bug 24400: Rest API for checkout WIP Bug 24400: Rest API for checkout WIP fixing variable Bug 24400: Unit tests for all responses of checkout API Bug 24400: Rest API for checkout |
Description
Lari Taskula
2020-01-10 22:31:38 UTC
Created attachment 150449 [details] [review] Bug 24400: Rest API for checkout WIP Created attachment 150495 [details] [review] Bug 24400: Rest API for checkout WIP Created attachment 150920 [details] [review] Bug 24400: Rest API for checkout WIP Created attachment 150921 [details] [review] fixing variable Created attachment 151043 [details] [review] Bug 24400: Unit tests for all responses of checkout API Created attachment 151044 [details] [review] Bug 24400: Rest API for checkout Feature to provide API endpoints for checking out items. To test: 1) Apply this patch 2) Run: $ ktd --shell $ prove t/db_dependent/api/v1/items.t => SUCCESS: Tests pass! 3. Play with item checkout using a REST tool like Postman => SUCCESS: All works as expected 4. Sign off :-D Sponsored-by: Auckland University of Technology *** This bug has been marked as a duplicate of bug 23336 *** Apologies Danyon.. seems I missed a comment here when marking as a duplicate. It's not always easy to spot a duplicate.. especially given in this case there were a few with long histories. It's generally a good idea to ask questions on those with a history to help them move forward before having a fresh attemp, but I wouldn't let it hold you up too long either. In this case, I look at the code you submitted and did a comparison before picking which to set as a duplicate. The other bugs handles a few more cases, so I picked that one, but it also needs further development for it to fully cater for all the existing cases in the UI. I'd love some help there and your input would be greatly appreciated. |