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

CiviMail ignores child groups when getting recipients

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.3
    • Fix Version/s: 4.3.0
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Encountered on 3.1.3, replicated on demo: http://drupal.demo.civicrm.org/civicrm/mailing/report?mid=18&reset=1 (July 7th, 2010 8:12 AM)

      1. Create a mailing group, add a member.
      2. Create a child mailing group of the above, add 2 members.
      3. Create & send a mailing to the parent group.

      While composing the mailing, the recipient count showed as 1, should have been 3. After sending the mailing, report shows 1 recipient.

      4. Create & send a mailing to the child group.

      While composing the mailing, the recipient count correctly showed as 2 and after sending the mailing, report correctly shows 2 recipients.

      Looking at CRM_Mailing_BAO_Mailing::getRecipients, the queries use civicrm_group_contact to get group members and do not check child groups.

      See http://forum.civicrm.org/index.php?topic=13478.0

      Dave J

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              davej Dave Jenkins
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: