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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 9 00:20:41 CET 2016


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

            Bug ID: 16009
           Summary: crash displaying pending offline circulations
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: gmcharlt at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Displaying a list of pending offline circulation actions can now fail if the
cardnumber is null (as can be the case with a return).  The associated crash
is:

DBD::mysql::st execute failed: called with 1 bind variables when 0 are needed
[for Statement "SELECT borrowers.*, categories.category_type,
categories.description
    FROM borrowers
    LEFT JOIN categories on borrowers.categorycode=categories.categorycode
WHERE cardnumber IS NULL"] at /usr/share/koha/lib/C4/Members.pm line 451.

This appears to be a consequence of bug 15344; it turns out that
GetMemberDetails handled cardnumber => NULL better than GetMember does at
present.

This looks like it affects master, 3.20.8+, and 3.22.2+

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


More information about the Koha-bugs mailing list