-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: No Feedback
-
Affects Version/s: 15.0.16.42
-
Fix Version/s: None
-
Component/s: Sound Languages
-
Labels:None
-
Asterisk Version:16.6.2
-
Distro Version:Centos 7.6
-
Distro:FreePBX Distro
When try to install Italian Sound Language from Sound Languages module, after accepted License Agreement, I got below error displayed:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'filename' at row 1
File:/var/ww/html/admin/modules/soundlang/Soundlang.class.php:1125
Investigating into the problem, I notice that, during the Insert procedure, there are two strange values that are triyed to insert of 93 chars which exceed the "filename" column of max 80 chars :
Elenco completo del set "core sound" dei messaggi in italiano per centralino "Asterisk".g729
Elenco completo del set "core sound" dei messaggi in italiano per centralino "Asterisk".alaw
To work around the problem I increased to 100 the max chars of column "filename" of the "soundlang_prompts" table, but I suppose that those 93 chars values should be not included in the inserting procedure. Also, the inserting procedure adds some buggy filenames named ".alaw".