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

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82860|0                           |1
        is obsolete|                            |

--- Comment #2 from Owen Leonard <[email protected]> ---
Created attachment 82869
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82869&action=edit
Bug 21951: Patron import fails if matching on cardnumber and userid also
matches

If a patron CSV file has both cardnumber and userid, and cardnumber is
used as a matchpoint, the patron import will fail with an error like
--
Userid kyle.hall is already used by another patron.
--
even though that userid is used by the very same patron!

Matching on userid does not generate this error.

Test Plan:
1) Generate a patron CSV file where the userid and cardnumber columns
   match an existing patron
2) Attempt to overlay existing patron using this CSV file via the
   patron import tool
3) Note the "already used" error
4) Apply this patch
5) No error should be generated
6) Modify the cardnumber in the CSV file
7) Attempt to import and overlay again
8) Note you get the userid "already used" error

Signed-off-by: Owen Leonard <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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