[Koha-bugs] [Bug 12738] Search behaviour inconsistent with QueryParser on Perl 5.18

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 8 18:07:46 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12738

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30630|0                           |1
        is obsolete|                            |

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 30633
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30633&action=edit
[SIGNED OFF] Bug 12738: (regression tests) C4::Context should set keyword
search as default for QueryParser

This patch introduces tests for the QueryParser PQF driver usage in Koha.
Specifically its
initialization on C4::Context, and initial setup.

It also introduces a .pl script that is used to load C4::Context with different
hash randomization
seeds on purpose, to verify the initialization result is deterministic and
consistent between
runs.

To test:
  $ prove -v t/db_dependent/QueryParser.t

It should fail because different default_search_class is set on each run, and
it is not often the
one we expect.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list