[Bug 9832] New: QueryParser causes software error if koha-conf.xml has not been updated
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Bug ID: 9832 Summary: QueryParser causes software error if koha-conf.xml has not been updated Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: jcamins@cpbibliography.com Reporter: jcamins@cpbibliography.com QueryParser requires a configuration file. If koha-conf.xml does not point to that configuration file, you will get a software error when you try to search with QueryParser enabled. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 --- Comment #1 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 16205 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16205&action=edit Bug 9832: avert software error with QP enabled and misconfigured QueryParser requires a configuration file. If koha-conf.xml does not point to that configuration file, you will get a software error when you try to search with QueryParser enabled. Until this patch. To test: 1) Comment out the <queryparser_config> line in your koha-conf.xml 2) Turn on UseQueryParser 3) Do a search, watch it explode 4) Apply patch 5) Do search again, watch it work 6) Sign off on patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16205|0 |1 is obsolete| | --- Comment #2 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 16206 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16206&action=edit Bug 9832: avert software error with QP enabled and misconfigured QueryParser requires a configuration file. If koha-conf.xml does not point to that configuration file, you will get a software error when you try to search with QueryParser enabled. Until this patch. To test: 1) Comment out the <queryparser_config> line in your koha-conf.xml 2) Turn on UseQueryParser 3) Do a search, watch it explode 4) Apply patch 5) Do search again, watch it work 6) Sign off on patch Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Works as expected, nothing explodes anymore -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |mirko@abunchofthings.net -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com QA Contact| |paul.poulain@biblibre.com --- Comment #3 from Paul Poulain <paul.poulain@biblibre.com> --- QA comment * trivial patch * passes koha-qa.pl * no side effect I can think of -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16206|0 |1 is obsolete| | --- Comment #4 from Paul Poulain <paul.poulain@biblibre.com> --- Created attachment 16304 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16304&action=edit Bug 9832: avert software error with QP enabled and misconfigured QueryParser requires a configuration file. If koha-conf.xml does not point to that configuration file, you will get a software error when you try to search with QueryParser enabled. Until this patch. To test: 1) Comment out the <queryparser_config> line in your koha-conf.xml 2) Turn on UseQueryParser 3) Do a search, watch it explode 4) Apply patch 5) Do search again, watch it work 6) Sign off on patch Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Works as expected, nothing explodes anymore Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 --- Comment #5 from Paul Poulain <paul.poulain@biblibre.com> --- QA comment : note that the error does not occur if your koha-conf.xml file does not have the <queryparser> line at all. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9832 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #6 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- This patch has been 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=9832 claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |claire.hernandez@biblibre.c | |om -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org