[Koha-bugs] [Bug 20227] New: admin/smart-rules.pl should pass categorycode instead of branchcode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 16 11:59:36 CET 2018


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

            Bug ID: 20227
           Summary: admin/smart-rules.pl should pass categorycode instead
                    of branchcode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Found while testing bug 15524.
Trivial error. Field mixed up (copy-paste).

DBD::mysql::st execute failed: Duplicate entry 'ST' for key 'PRIMARY' [for
Statement "
                INSERT INTO default_borrower_circ_rules
                    (categorycode, maxissueqty, maxonsiteissueqty, max_holds)
                    VALUES (?, ?, ?, ?)
            " with ParamValues: 0="ST", 1=undef, 2=undef, 3="3"] at
/usr/share/koha/devclone/admin/smart-rules.pl line 309.

-- 
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