Node is of type: difference when applying to rules_entity_insert:node or ules_entity_insert:comment

Created on 20 June 2019, over 5 years ago
Updated 2 August 2024, 7 months ago

I open a new issue, but the problem was explained in comment #3 here: https://www.drupal.org/project/rules/issues/3061276

I can perform an action (send e-mail) when saving a new content, but not when saving a comment:

Node: @node.node_route_context:node
[Data selector]

Type of content: ticket
[Direct input]

I have these exact same settings for rules_entity_insert:node and rules_entity_insert:comment, but only the first one works. With comments, I get:

Drupal\rules\Exception\EvaluationException: The context for node is NULL, but the context node in rules_node_is_of_type requires a value.

(Yes, I have flushed the cache)

💬 Support request
Status

Fixed

Version

3.0

Component

Rules Core

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024