Can't use node as content data selector if using Entity is of bundle for setting path alias

Created on 20 December 2023, about 1 year ago
Updated 16 April 2024, 10 months ago

I'm trying to use rules to set a path alias. I have a content type called "grantee".

I'm using event "After saving a new content item entity" and the action "Create a content item path alias". The action accepts "node" as the content item for which to crate a path alias, but if I add Entity is of bundle as a condition and then try to use node for the action it gives me the error message "Expected a entity:node data type for context Content but got a entity:node:grantee data type instead.".

My settings for entity is of bundle:
entity: node
type: node
bundle: grantee

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

3.0

Component

Rules Core

Created by

πŸ‡ΊπŸ‡ΈUnited States fallenturtle

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

Comments & Activities

Production build 0.71.5 2024