[Koha-bugs] [Bug 11329] Check for marc record in opac-showmarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 2 09:40:13 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11329

--- Comment #1 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 23231
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23231&action=edit
Bug 11329: Check for marc record in opac-showmarc

Instead of just running as_formatted, check if GetMarcBiblio returned
a reference. If you e.g. did not pass an id, return 404 instead of 500.
Consistent with opac-export.pl

Test plan:
[1] Run opac-showmarc.pl with valid biblionumber in id parameter.
[2] Remove id parameter from URL. You should get a 404 now.

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


More information about the Koha-bugs mailing list