From time to time I cannot update a contact. E.g. today I tried to save a new telephone number.
The following entry appears in the log:
[2018-01-17 10:01:20] Espo.ERROR: API [PATCH]:/:controller/:id, Params:Array ( [controller] => Contact [id] => 5a3d3b07f0f228712 ) , InputData: {"phoneNumber":"+49 XXX","phoneNumberData":[{"phoneNumber":"+49 XXX","primary":true,"type":"Office"}]} - SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' `tag2` = NULL, `modified_by_id` = '1' WHERE contact.id = '5a3d3b07f0f228712' AN' at line 1 [] []
Tag 1 and Tag 2 are fields created by us to tag our contacts. They are not mandatory and in most cases it works.
Any help appreciated.
The following entry appears in the log:
[2018-01-17 10:01:20] Espo.ERROR: API [PATCH]:/:controller/:id, Params:Array ( [controller] => Contact [id] => 5a3d3b07f0f228712 ) , InputData: {"phoneNumber":"+49 XXX","phoneNumberData":[{"phoneNumber":"+49 XXX","primary":true,"type":"Office"}]} - SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' `tag2` = NULL, `modified_by_id` = '1' WHERE contact.id = '5a3d3b07f0f228712' AN' at line 1 [] []
Tag 1 and Tag 2 are fields created by us to tag our contacts. They are not mandatory and in most cases it works.
Any help appreciated.
Comment