praekeltfoundation / casepro

Case management dashboard for RapidPro
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fix error on long language field imports #187

Closed rudigiesler closed 7 years ago

rudigiesler commented 7 years ago

Currently, if the language field is longer than 3 characters, the sync fails. This is due to the language field having a character limit of 3 in the database. If the language field is longer than this, then we should truncate the field before storing it on the contact.