https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36495 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164297|0 |1 is obsolete| | Attachment #164301|0 |1 is obsolete| | --- Comment #8 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 164377 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164377&action=edit Bug 36495: Use resource_not_found() helper everywhere This patch makes the existing controllers use the new helpers for (most) 404 situations. The remaining ones are subject to discussion. I proposed to discuss on the next meeting, how to make this more consistent. For reference: ```shell git grep resource_not_found ``` and see the different use cases in the codebase. Once we settle on the matter, I will provide a follow-up to make them all the same. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/ => SUCCESS: Tests pass! 3. Sign off :-D -- You are receiving this mail because: You are watching all bug changes.