Export with a field that has a small DB size but long labels results in fatal
To reproduce:
- Create a new custom field of type=alphanum, widget=select list, size=2 (on dmaster, you can edit "Constituent Information > Marital Status" to have a width of 2)
- Enter some field options that are more than 2 characters
Then go to Advanced Search:
- click submit to search,
- export all results
- select fields to export: marital status (or the field you created)
It will cause CiviCRM to fatal because it creates a temp table with a varchar(4)
but it tries to store the field labels.
It works on CiviCRM 5.55 but not on CiviCRM 5.60 RC.