Tested in 5.35.2 and 5.36.1. The Reason column is absent from the Import_Errors.csv file generated after a Contact import. I believe this is a regression. This column is where Civi would previously explain multiple duplicate contacts, invalid email formatting, invalid State/Province, etc.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Activity
Sort or filter
Newest first
Oldest first
Show all activity
Show comments only
Show history only
Stoobchanged title from Reason column absent from Import Errors file to Reason column absent from Import Errors file Import_Errors.csv
changed title from Reason column absent from Import Errors file to Reason column absent from Import Errors file Import_Errors.csv
I'm having trouble replicating this - the 2 csvs are from master just now (it has column headings & doesn't require any additional configuration) - I DID replicate the duplicates csv at the end missing a column header but it's unclear if that relates
Thank you @DaveD you are correct. The import Reason column does not populate when the Reason is multiple duplicate contacts in CiviCRM. To elaborate on your reproduction.
Encountered this issue on 5.35.2, matching on Name + Email. In line with DaveD & Stoob's comments, it occurs when there are multiple existing contacts that match an import row. As there are steps to replicate now, can we remove label "needs:steps to replicate" ?
Can replicate here, the issue is the dedupe rule we are using found multiple contacts that match the rule. Instead of telling us that is the reason, it just does the same as the example provided.
In 5.51 there is a significant code cleanup - I don't know if it fixes this (or even makes it worse) but if anyone has time to test the rc it would be much appreciated
Hi @eileen, thanks for following up on this. I just replicated the problem on a local dev instance on 5.47.4, then grabbed civicrm-5.51.beta1-drupal-202206100742.tar.gz and ran the upgrade through the UI. However I got a db error:
DB Error: no such fieldUPDATE civicrm_queue SET status = NULL WHERE name = 'CRM_Upgrade' [nativecode=1054 ** Unknown column 'status' in 'field list']
Looks like this query was added recently to CRM_Queue_Runner::runAllViaWeb(), it's not in 5.49.4 for example. I re-tried a couple of times, making sure I had cleared caches / templates_c - same error. So, I'd better file an issue for that! [Edit: done, #3507 (closed)]
I then tried drush cvupdb and that succeeded.
Re-tested the import and this time the Import_Errors file correctly included the reason. I'm attaching the Import_Errors files from 5.47.4 & 5.51.beta1 .