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@lists.koha-community.org
          Reporter: gmcha...@gmail.com
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to