[Koha-bugs] [Bug 19077] New: When loading patrons matching on userid updates to matched patrons are rejected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 10 17:14:47 CEST 2017


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

            Bug ID: 19077
           Summary: When loading patrons matching on userid updates to
                    matched patrons are rejected
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: colin.campbell at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

A while back the import_borrowers script was altered to allow matching by
userid, to allow updating borrowers by the id, unfortunately in parallel was  a
change to ensure duplicate userids were not added. Both changes were applied
but the latter had the side effect of rendering the first useless. This patch
adds a test that we are not matching on userid to the check userid for
uniqueness

To test
Without the patch a import record matching on userid will be rejected
With the patch it will update the db record
when matching on another key non-unique userids will still be rejected

a version of the patch has been submitted for inclusion in the enhanced version
of patron load in bug 12598

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