[Koha-bugs] [Bug 15842] Cannot import patrons if the csv file does not contain privacy_guarantor_checkouts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 17 16:51:09 CET 2016


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 48190
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48190&action=edit
Bug 15842 - Cannot import patrons if the csv file does not contain
privacy_guarantor_checkouts

When importing patrons with a csv file which does not contain the
privacy_guarantor_checkouts column in the header, you will get
DBIx::Class::Storage::DBI::_dbh_execute(): Column 'privacy_guarantor_checkouts'
cannot be null at /home/koha/src/C4/Members.pm line 768

The same issue seems to occur for sms_provider_id.

Test Plan:
1) Attempt to import patron csv file with no privacy_guarantor_checkouts column
2) Note the error
3) Apply this patch
4) Repeat step 1
5) The error should no longer occur

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


More information about the Koha-bugs mailing list