[Koha-bugs] [Bug 35266] MARCdetail: Can't call method "metadata" on an undefined value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 6 14:18:00 CET 2023


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

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 158518
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158518&action=edit
Bug 35266: Fix biblio check in opac-MARCdetail

We should check before retrieving metadata.

Test plan;
Try /cgi-bin/koha/opac-MARCdetail?biblionumber=X
Replace X by a not-existing biblionumber.
Verify that you get a 404 error page.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list