If I go to the Setup \ Dictionaries \ Types of Third Parties, then enter a long text value for the "Code" column, I get ...
DB_ERROR_1406
Data too long for column 'code' at row 1
I have removed some private information below and replaced it with xxxxxx
Here is the full error.
DB_ERROR_1406
Data too long for column 'code' at row 1
I have removed some private information below and replaced it with xxxxxx
Here is the full error.
Dolibarr has detected a technical error.
This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to '1' to remove such notices):
Date: 20180506224025
Dolibarr: 7.0.1
Level of features: 0
PHP: 7.2.2
Server: Microsoft-IIS/8.5
OS: Windows NT xxxxxxxxx 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) i586
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Requested URL: /htdocs/admin/dict.php?id=8
Referer: xxxxxxxx/htdocs/admin/dict.php?id=8
Menu manager: eldy_menu.php
Database type manager: mysqli
Latest database access request error: INSERT INTO dolidemo_c_typent (id,code,libelle,fk_country,active) VALUES(239,'Really_Long_Name_For_Error','Long Error','11',1)
Return code for latest database access request error: DB_ERROR_1406
Information for latest database access request error: Data too long for column 'code' at row 1
This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to '1' to remove such notices):
Date: 20180506224025
Dolibarr: 7.0.1
Level of features: 0
PHP: 7.2.2
Server: Microsoft-IIS/8.5
OS: Windows NT xxxxxxxxx 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) i586
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Requested URL: /htdocs/admin/dict.php?id=8
Referer: xxxxxxxx/htdocs/admin/dict.php?id=8
Menu manager: eldy_menu.php
Database type manager: mysqli
Latest database access request error: INSERT INTO dolidemo_c_typent (id,code,libelle,fk_country,active) VALUES(239,'Really_Long_Name_For_Error','Long Error','11',1)
Return code for latest database access request error: DB_ERROR_1406
Information for latest database access request error: Data too long for column 'code' at row 1