Hello! I have a csv file with "patron_attributes". Example: cardnumber,patron_attributes 23821012345678,"TPUID:12345,""PDivision:Academic Library, Dep IT"""
Imported without problems. If the string uses "Double quotes" (")? then there is a problem with the import. Example, need : Other "ABC" SPb cardnumber,patron_attributes 23821012345678,"PDivision:Other ""ABC"" SPb" root@koha:/usr/share/koha/bin# perl import_patrons.pl -f /home/ias/patron.csv --matchpoint cardnumber --confirm -v Use of uninitialized value $borrower{"cardnumber"} in string eq at /usr/share/koha/lib/Koha/Patrons/Import.pm line 146, <$handle> line 2. Use of uninitialized value $borrower{"auth_method"} in string eq at /usr/share/koha/lib/Koha/Patrons/Import.pm line 147, <$handle> line 2. Import complete: Imported: 0 Overwritten: 0 Skipped: 0 Invalid: 1 Total: 1 How do I escape to csv so that the import takes place? Good Luck! Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru/ _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha