1

I successfully imported contributions from csv files, up to 4.6.3. Now when I try to import using the same saved mapping, in Joomla with 4.6.6, every record fails with the error

No matching Contact found for ([email protected] )

Is anyone else having trouble under 4.6.6? My field mappings look correct, and the contact email addresses do exist as contacts in the database.

4
  • I would suggest you replicate on Demo site with some anonymised data.
    – petednz - fuzion
    Aug 7, 2015 at 5:15
  • Just checking: there isn't a space at the end of [email protected], is there? Only that there is in the above. Aug 10, 2015 at 13:57
  • I'm having a similar issue, but only with select import records. Symptoms: failed contribution imports all say "No matching Contact found for (external_ID)", even though I've verified the contact record exists. Drupal 7, Civicrm 4.6.6 Aug 10, 2015 at 17:26
  • Yes, the generated error file shows a space after each email address. The source csv email addresses do not have spaces. (I haven't had a chance to recreate on the demo site.)
    – Norris
    Aug 10, 2015 at 18:31

1 Answer 1

1

The only change to the file CRM/Contribution/Import/Parser/Contribution.php between 4.6.0 and 4.6.6 is the addition at line 263 of:

$params['contact_type'] = 'Contribution';

Commenting this out seems to fix my problem. My contribution imports are based on matching the individual contact by email address, so I'm guessing that this line broke things by forcing a lookup by contribution ID.

Should I file a bug report?

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.