i use the Flag module for the users to bookmark a node, and want to log it as an heartbeat activity if a user bookmarks a node. i use rules to do this, should i create a new template for it or just use the "A custom message or tweet". and i try to create a new template, and get this error:
EntityMalformedException: Missing bundle property on entity of type heartbeat_activity. in entity_extract_ids() (line 7501 of ../includes/common.inc).

Comments

Stalski’s picture

Status: Active » Closed (works as designed)

The error EntityMalformedException: Missing bundle property on entity of type heartbeat_activity is taken care off in another issue.
Then for this issue itself, the logging of a flag on a node is something for the flag module. That modules should have the rule triggering while heartbeat has a reaction, namely logging the message.

Stalski’s picture

Issue summary: View changes

change the file path