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

campaign_id is not saved for A/B test mailings

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.2
    • Fix Version/s: 4.7.7
    • Component/s: CiviMail
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Earlier versions (also 4.6.*) possibly affected.

      Let me just explain with an SQL query:
      select m.campaign_id from civicrm_mailing m join civicrm_mailing_abtest ab on ab.mailing_id_a = m.id where m.campaign_id is not null;
      Empty set (0.00 sec)

      Despite setting Campaign while creating an A/B test, the campaign_id is NULL in ALL mailings (a, b and c) related to A/B test.

      This makes all information about which campaign a test belongs to lost. Also this makes A/B tests not to show up in mailing reports.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              movonw Marcin Koziej
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m