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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 9 16:34:07 CET 2010


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

           Summary: import_borrowers.pl fails with db insert/update errors
 Change sponsored?: ---
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Tools
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: cnighswonger at foundations.edu
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


I'm not sure what is going on here exactly; the gonenoaddress, lost, debarred,
guarantorid, and flags db fields default to NULL, but for some reason when the
insert/update occurs, DBD returns an error like "Incorrect integer value: ''
for column 'foo'..." It appears save to default these to zero for now.

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