https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23734
Bug ID: 23734
Summary: Defaults set during patron imports throws warnings
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
To recreate:
Create a small import file, with minimal columns, tail the logs, import and
note warnings
IN DBIX/Class/Row:
elsif ($self->_is_column_numeric($col)) { # do a numeric comparison if
datatype allows it
return $old == $new;
But in Koha/Patrons/Import.pm
We assume "" for all defaults
Even if we pass defaults of '0' for these columns
elsif ( $defaults->{$key} ) {
won't be triggered by a 0 value, it should be 'exists'
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/