[Koha-bugs] [Bug 5379] import_borrowers.pl fails with db insert/update errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 15 18:55:06 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5379

--- Comment #18 from Liz Rea <wizzyrea at gmail.com> 2011-06-15 16:55:06 UTC ---
Created attachment 4486
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4486
[SIGNED OFF] Bug 5379 - import_borrowers.pl fails with db insert/update errors

Some spreadsheet programs use smart quotes which causes the db to throw
an error when an insert/update is attempted due to improper processing
of the CSV file. This patch adds code to check for smart quotes and change
them to "dumb" quotes.

This patch also adds more logging of errors and a notice to the user to check
the logs for errors when they occur.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list