]> git.koha-community.org Git - koha.git/commit
Bug 9832: avert software error with QP enabled and misconfigured
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 17 Mar 2013 19:44:56 +0000 (15:44 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 19 Mar 2013 12:19:30 +0000 (08:19 -0400)
commit397d0f15b7b6154f758d91a8ecbb1cf0e3ae87b3
tree25caed78ae87f67128abb3c4f0189a882546ff50
parent300b1276d6294972fa7a94ac529a653342644ca2
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>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Context.pm