[Koha-bugs] [Bug 6253] Unified Patron Search subroutine

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 17:45:48 CEST 2011


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

--- Comment #31 from Ian Walls <ian.walls at bywatersolutions.com> 2011-10-19 15:45:48 UTC ---
This patch is breaking t/db_dependent/Members.t, but not staff client usage.

I believe the root of this is C4/SQLHelper.pm, line 418:

    $operand = [$operand] unless ref $operand;

ref $operand could return all kinds of values other than "ARRAY".  Modifying
to:

    $operand = [$operand] unless ref $operand eq 'ARRAY';

prevents the script from erring out early.  This doesn't guarantee that all
tests are passed, but they are all run with this change.

Followup patch forthcoming.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list