Hi,
My rules are executed but never included in the email.
Using the contrib module instead of the version in Commons fixed the problem.

But to keep the drupal commons version, I found that's because they modified a condition in the file activity_log.rules.inc, function activity_log_log_action, before saving the activity. (sorry couldn't make a patch. My drush make didn't work). They added $event->tid in the condition and array $pairs.

if (!in_array("$event->tid $event->target_id $event->target_type $display_type $id $type $viewer", $pairs)) {
  $pairs[] = "$event->tid $event->target_id $event->target_type $display_type $id $type $viewer";

Now I still have a problem with my rules. In the db the value of display_type never change. It stays "web" instead of being "email". Any idea ? Changing the value directly in the db solve the problem.

Many thanks,

Luc

Comments

bodyblueprinter’s picture

I would just like to know how to disable the digests altogether.