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

Import Activity History : Should not require activity_id

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      When I try to import activity history records without mapping an Activity ID column, I get the following error on all records:
      "Required fields activity_id not found for history"

      I can work around this by putting dummy activity ID values in my import file. However, for typical use cases, there won't be a "meaningful" activity_id reference for these - as they are coming from a legacy or other external app. Also, unless a module and callback value is supplied - we don't show a "Details" link and hence don't use the activity_id value. So I don't think we should require the activity_id - which also means changing the schema slightly so that activity_id allows NULL values.

      ( For 1.4 - we'll need to tell folks to put in "dummy" value unless they are actually using the "Details" link, etc. )

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: