[Koha-bugs] [Bug 8572] Attempting to view an invalid authority in the OPAC gives an error instead of 404
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 6 09:58:08 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572
--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 11371
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11371&action=edit
Bug 8572: invalid auth shouldn't cause error
Prior to this patch, attempting to view an invalid authority in the
OPAC gave a system error instead of a 404. With this patch, the user
will just get a 404, as is the case with invalid bibs.
To test:
1) Try to view an invalid authority by going to:
/cgi-bin/koha/opac-authoritiesdetail.pl?authid=999999999999
(presuming that you don't have an authority with authid 999999999999
in your database) before and after applying this patch
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list