Closed (fixed)
Project:
ExactTarget SOAP
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 19:53 UTC
Updated:
17 Feb 2012 at 14:40 UTC
We had an issue where we ran a drush command to clear the exact target soap queue, but it ran for 600 seconds (which was the timeout we gave it) and did not send out an email even though there were still API requests in the queue.
Here's the diff:
=== modified file 'drupal/sites/all/modules/exact_target_soap/exact_target_soap.batch.inc'
--- drupal/sites/all/modules/exact_target_soap/exact_target_soap.batch.inc 2011-09-14 20:40:04 +0000
+++ drupal/sites/all/modules/exact_target_soap/exact_target_soap.batch.inc 2012-02-02 19:47:08 +0000
@@ -187,7 +187,7 @@
// Send a message if there are still items in the batch and the site admin
// wants to be notified of this.
- if ($type != 'status' && variable_get('exact_target_soap_cleanup', EXACT_TARGET_SOAP_CLEANUP_NOTHING) != EXACT_TARGET_SOAP_CLEANUP_MAIL) {
+ if ($type != 'status' && variable_get('exact_target_soap_cleanup', EXACT_TARGET_SOAP_CLEANUP_NOTHING) == EXACT_TARGET_SOAP_CLEANUP_MAIL) {
$to = variable_get('exact_target_soap_mail', variable_get('site_mail', ''));
drupal_mail('exact_target_soap', 'failure', $to, language_default());
}
Comments
Comment #1
elliotttf commentedFixed @ d335e472eb and released in 6.x-1.1