[Koha-bugs] [Bug 17257] Cannot create a patron under MySQL 5.7

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 6 11:15:04 CEST 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 55231
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55231&action=edit
Bug 17257: Fix add/edit patrons under MySQL 5.7

If no guarantor is defined the patron won't be added/modified and an
error will be raised:

DBD::mysql::st execute failed: Incorrect integer value: '' for column
'guarantorid'

Test plan:
Using MySQL 5.7 (and/or sql_mode=STRICT_TRANS_TABLES)
Create a patron without guarantor

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


More information about the Koha-bugs mailing list