]> git.koha-community.org Git - koha.git/commit
Bug 16917 - Error when importing patrons, Column 'checkprevcheckout' cannot be null
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Jul 2016 15:41:30 +0000 (15:41 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 09:47:05 +0000 (11:47 +0200)
commit878402689eb652b09bed0d4f2c7e458d5c5493f4
treef5bb2e5353d54a09e8be2b8dd023c21e099e23c2
parent355db1cae91a5dcbe1edca6989af14802b5b8f39
Bug 16917 - Error when importing patrons, Column 'checkprevcheckout' cannot be null

Error:
DBIx::Class::Storage::DBI::_dbh_execute(): Column 'checkprevcheckout'
cannot be null at C4/Members.pm line 697

Test Plan:
1) Attempt to import a patron via csv
2) Note the error
3) Apply this patch
4) Repeat the import
5) No error!

NOTE: Given that all the other tests ran (comment #2), except
      those in comment #3, I resorted to following the test plan
      above using the attachment provided in comment #5. I
      believe the issues in comment #3 constitute other bugs
      which need fixing and are unrelated this bug. Applying the
      patch does resolve the error triggered, and the code is
      good.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit f8eb5e7f0e4afea791d17692561fb10162aee78c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Members.pm