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 (person@example.com )

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.

  • I would suggest you replicate on Demo site with some anonymised data. – petednz - fuzion Aug 7 '15 at 5:15
  • Just checking: there isn't a space at the end of person@example.com, is there? Only that there is in the above. – Andrew West Aug 10 '15 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 – Cullen McGough Aug 10 '15 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 '15 at 18:31
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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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