[Bug 8572] New: Attempting to view an invalid authority in the OPAC gives an error instead of 404
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Priority: P5 - low Change sponsored?: --- Bug ID: 8572 Assignee: jcamins@cpbibliography.com Summary: Attempting to view an invalid authority in the OPAC gives an error instead of 404 Severity: major Classification: Unclassified OS: All Reporter: jcamins@cpbibliography.com Hardware: All Status: NEW Version: master Component: OPAC Product: Koha -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 --- Comment #1 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 11358 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11358&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 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 --- Comment #2 from Chris Cormack <chris@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@bigballofwax.co.nz> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |chris@bigballofwax.co.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11358|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |jonathan.druart@biblibre.co | |m --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- QA comments: It would have been more user-friendly to display an adapted error for this case. But Koha does not have a simply way to send messages (infos, warnings, errors) to the templates. So, I mark as Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact| |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 --- Comment #4 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.8.x, will be in 3.8.4 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |paul.poulain@biblibre.com Version|master |rel_3_8 --- Comment #5 from Paul Poulain <paul.poulain@biblibre.com> --- Patch pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8572 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org