[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
Wed Mar 22 02:40:05 CET 2017


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

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

--- Comment #7 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 61425
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61425&action=edit
[SIGNED-OFF] 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

Signed-off-by: Srdjan <srdjan at catalyst.net.nz>

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


More information about the Koha-bugs mailing list