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

Import - Summary counts (import results) are incorrect when related contacts are imported and tagging behavior is inconsistent with "add to group" behavior

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Imported a file with 4 rows. 2 of the rows have "related contact info" for a Spouse. 3 of the rows have "related contact info" for an Employer. (Sample file is attached)

      The import correctly created 11 contact records (4 + 2 individuals, 2 households, and 3 organizations). HOWEVER, the following problems need to be fixed:

      1. Summary page (step 4) had incorrect counts for both Total Rows ($totalRowCount) and Total Contacts ($validRowCount). They both show 18 ??? For the "report" row which I've relabeled as "Total Contacts" - we should display the count of contact records which were created or modified during the import. We should probably rename that variable to something like importContactCount or something like that. So in this test case - that number should be 11.

      2. I set the import to "Add contacts to a new group" as well as "Create a new tag and assign to imported contacts". The "add to group" worked as expected - all 11 contacts were added to the group. HOWEVER, the "tagging" function only assigned my tag to the 4 contacts (not the "related contacts"). Tagging should function consistently with "add to group" - so this needs to be fixed so that the tag is applied to all 11 contacts using this test file / test case.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: