Koha/catalogue
Jonathan Druart 5f43478512
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@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-07-10 15:43:14 -03:00
..
detail.pl Bug 33497: Don't get host items if the MARC record is invalid 2023-07-07 12:12:43 -03:00
export.pl
getitem-ajax.pl
image.pl Bug 33047: Return 404 instead of 500 when biblio does not exist 2023-07-10 15:43:14 -03:00
imageviewer.pl
ISBDdetail.pl
issuehistory.pl
item-export.pl
itemsearch.pl Bug 31253: Item search in staff interface should call barcodedecode if the search index is a barcode 2023-07-03 10:35:03 -03:00
labeledMARCdetail.pl
MARCdetail.pl
moredetail.pl
search-history.pl
search.pl Bug 33896: Check whether index is defined before string match 2023-06-23 10:01:03 -03:00
showelastic.pl
showmarc.pl
stockrotation.pl
updateitem.pl