[Koha-bugs] [Bug 22025] 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
Fri Aug 9 09:58:09 CEST 2019


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

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magnus at libriotech.no

--- Comment #5 from Magnus Enger <magnus at libriotech.no> ---
I see these warnings for updates, on 18.11.05.000. When I do this:

  elsif ($self->_is_column_numeric($col)) {  # do a numeric comparison if
datatype allows it
    warn $col;
    return $old == $new;
  }

it seems that the privacy_guarantor_checkouts field is the culprit. All the
borrowers in the database have a 0 value for this column, do maybe there is a
false assumption that the new patron data will always have a numeric value for
this field, but in fact it is just empty if it is not included in the imported
data?

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


More information about the Koha-bugs mailing list