Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Following notices occurs when editing a rule:
Notice: Undefined property: RulesReactionRule::$dirty in RulesEventSet::rebuildEventCache() (line 791 of sites/all/modules/rules/includes/rules.plugins.inc).
Notice: Undefined property: RulesReactionRule::$dirty in RulesEventSet::rebuildEventCache() (line 794 of sites/all/modules/rules/includes/rules.plugins.inc).
Rule edited:
{ "rules_testrule2" : {
"LABEL" : "testrule2",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "rules", "comment" ],
"ON" : { "comment_view--comment_node_ads" : { "bundle" : "comment_node_ads" } },
"IF" : [ { "node_is_published" : { "node" : [ "comment:node" ] } } ],
"DO" : [ { "redirect" : { "url" : "http:\u002F\u002Fdrupal.org" } } ]
}
}
Configuration:
Drupal core: 7.31
Rules module: 7.x-2.x-dev (Development release dated 2014-May-14)
PHP : 5.2.6
Comments
Comment #1
dcam CreditAttribution: dcam commentedMoving the issue to the Rules queue.
Comment #2
TR CreditAttribution: TR commentedIf this is still a problem with the current version of Rules, then open a new issue with detailed steps for reproducing the problem.