Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8741

api contact create can create individuals with no fields

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.5, 4.1.2
    • Fix Version/s: 4.2.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      http://drupal.demo.civicrm.org/civicrm/ajax/rest?json=1&debug=1&version=3&entity=Contact&action=create&contact_type=Individual

      should return error something like "First Name and Last Name OR an email OR an OpenID in the Primary Location should be set".

        Attachments

          Activity

            People

            • Assignee:
              joemurray Joe Murray
              Reporter:
              michaelmcandrew Michael McAndrew
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: