Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.5
-
Fix Version/s: 3.1.6
-
Component/s: Core CiviCRM
-
Labels:None
Description
In CiviCRM 3.1alpha1, the field 'date_parts' in the custom_fields table was changed to 'date_format'. It looks like the getFields method in the CRM_Core_BAO_CustomField class wasn't updated to reflect this change. This causes a database error when trying to create new contact records with the API. Patch is attached.