Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 4.6.12, 4.7.1
-
Fix Version/s: Unscheduled
-
Component/s: CiviMail
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Similar behaviour experienced for test emails sent to individuals and groups.
Steps to reproduce when sending test email to an individual:
- Go to Mailings > New Mailing, and fill out mailing details
- Add an email address under "Send test email to:"
- Click on Send test button
Test email is sent, however php notices are left:
Notice: Undefined index: status in CRM_Mailing_BAO_MailingJob::create() (line 65 of /home/demo-civicrm/public_html/sites/all/modules/civicrm/CRM/Mailing/BAO/MailingJob.php). Notice: Undefined index: scheduled_date in CRM_Mailing_BAO_MailingJob::create() (line 66 of /home/demo-civicrm/public_html/sites/all/modules/civicrm/CRM/Mailing/BAO/MailingJob.php). Notice: Undefined index: test_group in CRM_Mailing_BAO_Mailing->getTestRecipients() (line 919 of /home/demo-civicrm/public_html/sites/all/modules/civicrm/CRM/Mailing/BAO/Mailing.php).
Steps to reproduce when sending test email to a group:
- Create a mailing list group and add at least one user
- Go to Mailings > New Mailing, and fill out mailing details
- Add an email address under "Send test email to group:"
- Click on Send test button
Notices returned:
Notice: Undefined index: status in CRM_Mailing_BAO_MailingJob::create() (line 65 of /home/demo-civicrm/public_html/sites/all/modules/civicrm/CRM/Mailing/BAO/MailingJob.php). Notice: Undefined index: scheduled_date in CRM_Mailing_BAO_MailingJob::create() (line 66 of /home/demo-civicrm/public_html/sites/all/modules/civicrm/CRM/Mailing/BAO/MailingJob.php). Notice: Undefined index: test_email in civicrm_api3_mailing_send_test() (line 593 of /home/demo-civicrm/public_html/sites/all/modules/civicrm/api/v3/Mailing.php).