[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
Tue Mar 17 15:08:22 CET 2020


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

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #100756|0                           |1
        is obsolete|                            |

--- Comment #12 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 100894
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100894&action=edit
Bug 22025: Remove warnings when importing patrons

The following warning is raised when importing patrons
Argument "" isn't numeric in numeric eq (==) at
/usr/share/perl5/DBIx/Class/Row.pm line 1018

if one of the following headers is passed but does not have a value:
 * privacy
 * privacy_guarantor_fines
 * privacy_guarantor_checkouts
 * anonymized

Test plan:
- Do not apply the patch
- Generated a csv file with at least one those headers
- Import it using the import_patrons.pl script (or using the GUI)
- Notice the warnings without the patch
- Apply the patch
- Confirm that the warnings do not longer appear

Signed-off-by: Magnus Enger <magnus at libriotech.no>
Applied the patch on a live server and the warnings went away.

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


More information about the Koha-bugs mailing list