Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
The function civicrm_custom_field_create (in api/v2/CustomGroup.php) returns a misleading error message when the required field "label" is missing from the fieldParams array.
The returned error message says "Missing Required field :custom_group_id" but it should say "Missing Required field :label".