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

importing notes field - contact_id set to entity_id by default

    Details

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

      Description

      When performing a contact import from a CSV file that contains a mapping to the Notes, the note is successfully imported (and set up as the first note for that new contact).
      However, it shows that the note is "created by:" that user. For example if Joe User imports a new contact named Jim Contact, the first note for Jim Contact will be "created by:" Jim Contact. This does not make sense: it should assume that the user doing the import (and thus the change) has created that note.

      Specifically, in terms of the fields, it seems that when a contact is imported, in the civicrm_note table, contact_id is automatically set to entity_id. However, this is undesirable behaviour. contact_id should be set to the user doing the import (and thus the user creating the contact in the first place).

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              brownpants Graham Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: