Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 3.4.alpha
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      When importing Contacts, the last step is to Actually do the import.

      The new version of the API is "v3" which is enabled as the default for v4.0.0.
      (see sites/default/civicrm.settings.php )
      define( 'CIVICRM_API_VERSION', '3' );

      Change back to '2' and it seems to work fine ... or change the code below.

      The code in ./sites/all/modules/civicrm/api/v3/Contact.php
      needs to be changed to:
      ('<' is new file ... '>' is original file)

      238c238
      < $values = civicrm_contact_check_params( $params, $dupeCheck );

      > $values = _civicrm_contact_check_params( $params, $dupeCheck );
      328c328
      < function civicrm_contact_check_params( $params, $dupeCheck = true, $dupeErrorArray = false, $requiredCheck = true )

      > function _civicrm_contact_check_params( $params, $dupeCheck = true, $dupeErrorArray = false, $requiredCheck = true )

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              pcoughlin Paul Coughlin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: