[Koha-bugs] [Bug 22025] New: Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/DBIx/Class/Row.pm line 1018 for /usr/share/koha/bin/import_patrons.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 18 23:41:27 CET 2018


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

            Bug ID: 22025
           Summary: Argument "" isn't numeric in numeric eq (==) at
                    /usr/share/perl5/DBIx/Class/Row.pm line 1018 for
                    /usr/share/koha/bin/import_patrons.pl
 Change sponsored?: ---
           Product: Koha
           Version: 18.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: mjnkml at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz
  Target Milestone: ---

When running:

> sudo koha-shell -v -c "/usr/share/koha/bin/import_patrons.pl --file /home/kohasync/incomingfile/borrowers.csv --matchpoint userid --confirm --overwrite --verbose" our_instance_name

We get a bunch of:

> Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/DBIx/Class/Row.pm line 1018, <$handle> line 490.

per import row.

When I add some say STDERR lines just before it, I get:

> Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/DBIx/Class/Row.pm line 1019, <$handle> line 490.
> OLD: 0, NEW: , COL: lost
> 
> Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/DBIx/Class/Row.pm line 1019, <$handle> line 490.
> OLD: 0, NEW: , COL: privacy_guarantor_checkouts
> 
> Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/DBIx/Class/Row.pm line 1019, <$handle> line 490.
> OLD: 0, NEW: , COL: lost
> 

None of those fields (privacy_guarantor_checkouts, lost, etc.) are included in
the CSV import.

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


More information about the Koha-bugs mailing list