https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33047 --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 151082 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151082&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 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.