[Koha-bugs] [Bug 16504] New: All borrower attribute values for a given code deleted if that attribute has branch limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 12 00:13:47 CEST 2016


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

            Bug ID: 16504
           Summary: All borrower attribute values for a given code deleted
                    if that attribute has branch limits
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jweaver at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com,
                    jonathan.druart at bugs.koha-community.org,
                    kyle.m.hall at gmail.com

Bug 15163 introduced a regression for branch-limited patron attributes; when
modifying a patron attribute with branch limits, all of the values for that
attribute for every patron will be deleted due to a predecence mistake:

            WHERE b_branchcode = ? OR b_branchcode IS NULL
                AND borrowernumber = ?

is parsed as:

            WHERE b_branchcode = ? OR (b_branchcode IS NULL
                AND borrowernumber = ?)

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