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.
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
Comment #1
Stalski CreditAttribution: Stalski commentedThe 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.
Comment #1.0
Stalski CreditAttribution: Stalski commentedchange the file path