-
- Downloads
CustomField - Ensure index is not too long for mysql
Before: create a custom field with maxlength > 2000 and check the Optimize for Search option. The result is a fatal error. After: Field is created without issue.
Showing
- CRM/Core/BAO/SchemaHandler.php 30 additions, 1 deletionCRM/Core/BAO/SchemaHandler.php
- CRM/Core/DAO/Base.php 2 additions, 10 deletionsCRM/Core/DAO/Base.php
- tests/phpunit/CRM/Core/BAO/CustomFieldTest.php 1 addition, 0 deletionstests/phpunit/CRM/Core/BAO/CustomFieldTest.php
- tests/phpunit/api/v4/Custom/BasicCustomFieldTest.php 2 additions, 0 deletionstests/phpunit/api/v4/Custom/BasicCustomFieldTest.php
Loading
Please register or sign in to comment