Currently, if a comment is flagged, triggered node actions will fail to work.
The patch fixes this by:
- Asking the flag object to provide all relevant objects (there's a new method: get_relevant_action_objects).
- Send the correct object to the action ("the correct object" = "usually what $action->type says it is").
- This patch also adds all the "relevant objects" to the $context. This makes it possible, e.g., for the "tokenized email" action to recognize node tokens even when the action is triggered for a comment.
Comments
Comment #1
mooffie commentedCommitted.
http://drupal.org/cvs?commit=139496
http://drupal.org/cvs?commit=139497
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.