[Bug 8914] New: Blank search that returns invalid authorities fails under Plack
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8914 Priority: P5 - low Change sponsored?: --- Bug ID: 8914 Assignee: jcamins@cpbibliography.com Summary: Blank search that returns invalid authorities fails under Plack Severity: normal Classification: Unclassified OS: All Reporter: jcamins@cpbibliography.com Hardware: All Status: NEW Version: master Component: MARC Authority data support Product: Koha When doing a search with no terms for the default authority type under Plack, you will get a segfault if it returns any records that do not have any authority type. As far as I can tell, this cannot be reproduced under CGI/Apache. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8914 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=8914 --- Comment #1 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 12798 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12798&action=edit Bug 8914: Blank search that returns invalid authorities fails under Plack When doing a search with no terms for the default authority type under Plack, you will get a segfault if it returns any records that do not have any authority type. As far as I can tell, this cannot be reproduced under CGI/Apache. To test: Confirm that you don't get an error if you click the Submit button in the authorities sections in the staff client and OPAC without entering a term or changing the authority type. You may or may not be able to reproduce the problem prior to applying the patch, but that is the only situation in which I managed to trigger it. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8914 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12798|0 |1 is obsolete| | --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 12895 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12895&action=edit Bug 8914: Blank search that returns invalid authorities fails under Plack When doing a search with no terms for the default authority type under Plack, you will get a segfault if it returns any records that do not have any authority type. As far as I can tell, this cannot be reproduced under CGI/Apache. To test: Confirm that you don't get an error if you click the Submit button in the authorities sections in the staff client and OPAC without entering a term or changing the authority type. You may or may not be able to reproduce the problem prior to applying the patch, but that is the only situation in which I managed to trigger it. 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=8914 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=8914 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com --- Comment #3 from Paul Poulain <paul.poulain@biblibre.com> --- QA Comment: * tiny patch * just moves a call to a sub outside of a nested x?y:z * can't reproduce the bad behaviour on my plack setup, but everything still OK after patch applied * passes koha-qa.pl passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8914 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master Version|master |rel_3_8 QA Contact| |paul.poulain@biblibre.com --- Comment #4 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=8914 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- I no longer get the error that precipitated this bug report. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org