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

Missing Bulk Email activity type causes activity selector to fail

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.5, 4.0.5
    • Fix Version/s: 3.4.6, 4.0.6
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Based on several forum reports, some sites are missing the 'Bulk Email' activity type. The queries to exclude Bulk Email activities for target and assignee contacts in the Activities selector currently fails when that activity type existing (see CRM/Activity/BAO/Activity.php getActivities() from line 758).

      1. Modify getActivities to skip this clause if Bulk Email activity type is not found:

      "AND {$activityTempTable}.activity_type_id <> {$bulkActivityTypeID"

      2. Add a check for the existence of Bulk Email activity type to 3.4.6 upgrade - insert if not found (can re-use insert code from 3.0.alpha1.mysql.tpl)

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: