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

Martin Renvoize <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124356|0                           |1
        is obsolete|                            |

--- Comment #448 from Martin Renvoize <[email protected]> ---
Created attachment 124607
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124607&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 <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to