[Koha-bugs] [Bug 15840] New: Fix 'import borrowers' tool to not die when importing a file with blank 'userid' values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 17 13:43:40 CET 2016


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

            Bug ID: 15840
           Summary: Fix 'import borrowers' tool to not die when importing
                    a file with blank 'userid' values
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
          Assignee: gmcharlt at gmail.com
          Reporter: mtj at kohaaloha.com
        QA Contact: testopia at bugs.koha-community.org

to replicate the bug

1/ import a borrowers.csv file containing any row with a blank 'userid' value,
    - use the 'overwrite' option.

2/ repeat step 1/


koha dies with error..

DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '' for key 'userid'
at /path/to/yr/koha/C4/Members.pm line 683


bug confirmed on 3.18.9 -> master 43bcc1c

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list