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

When External identifier is imported and duplicates are set to 'skip', CiviCRM reports dupes as errors, not duplicates

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.4.alpha
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      I am importing from an external DB via CSV and have external identifier set. I Use the same dump for weekly imports, which will have some extra people in it occasionally. This file needs to be imported in stages, with stage 1 being:

      • Skip updates
      • match on a dedupe rule that uses external identifier

      I would expect duplicates to be flagged as such, but instead, they cause an error for each line at step 4: Invalid data and/or formatting which only says that there is a duplicate External Identifier in the CSV download of errors.

      I would expect that the code block at line 480ish of /CRM/Import/Parser/Contact.php would return CRM_Import_Parser::DUPLICATE

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              mattgibson Matt Gibson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: