[Koha-bugs] [Bug 33047] Local cover image fetchers return 500 internal error when image not available
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 18:48:47 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33047
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151082|0 |1
is obsolete| |
--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 152390
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152390&action=edit
Bug 33047: Return 404 instead of 500 when biblio does not exist
If the biblionumber or the itemnumber passed in parameter does not
exist we should return 404 instead of exploding with a 500.
Test plan:
Attach cover images to biblio and items
Notice that the UI is working correctly (staff and OPAC)
Hit catalogue/image.pl and opac/opac-image.pl with non-existent
biblionumber and imagenumber
Notice that you now get 404 instead of 500
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list