[Koha-bugs] [Bug 24857] Add ability to create "Volumes" for records, and assign items to volumes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 17 22:08:27 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24857

--- Comment #344 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 123907
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123907&action=edit
Bug 24857: (follow-up) Use $c->unhandled_exception

This patch makes the controller up to date with the currently used style
and codebase.

It also sinlences a useless warning, and makes it return 404 (instead of
409) when trying to add items to a volume on a non-existing biblio.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/volumes.t
=> FAIL: Some warnings
2. Apply this patch
3. Repeat 1
=> SUCCESS: No errors, no warnings

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list