[Koha-bugs] [Bug 16009] crash displaying pending offline circulations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 11 02:05:18 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16009

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

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

--- Comment #3 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 48986
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48986&action=edit
Bug 16009: fix GetMember() search on NULL/undef values

This patch fixes a bug whereby GetMember(searchfield => undef)
(i.e., searching for patron records where 'searchfield' is NULL)
would crash.

This fixes a regression introduced by bug 15344 that in turn
exposed a long-standing bug in GetMember().

To test:

[1] Import some offline circulation transactions that include at
    least one return.
[2] Attempt to view the list of pending transactions; a crash
    will occur.
[3] Apply the patch and view the list of pending transactions again;
    this time, it should work.

Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
Signed-off-by: Srdjan <srdjan at catalyst.net.nz>

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


More information about the Koha-bugs mailing list