CiviCRM truncate multiple option fields to 255 characters
Overview
CiviCRM truncate multiple option fields to 255 characters
Reproduction steps
- Create a multioption field with lots of text option choices
- Save a contact selecting several options that sum more than 255 char.
- Export it
Current behaviour
Your exported field gets truncated at 255 characters
Expected behaviour
All the info should be exported.
Environment information
- CiviCRM: 5.15
- PHP: 5.x
- CMS: Drupal 7.x
- Database: MariaDB
- Web Server: Apache 2.x
- OS: Debian 9.x
Comments
I think it could be related with this:
- https://issues.civicrm.org/jira/browse/CRM-15048
- https://github.com/civicrm/civicrm-core/pull/3790 In this case, @colemanw fix the bug using the lenght of the field set in CiviCRM. But what about multiple choices?