When creating a new component and choosing a new variable data-type, the option to choose a 'node' entity type is missing. See screen-shot in attached file.

The 'Any entity' type will not accept a node when using the component, so there is currently no way to accept a node variable in a component.

When checking an old component, I also noticed that the 'settings' section was no longer editable as the collapsible 'settings' section no longer contains a link to expand the section. I'm not sure if this is related, but it seems highly coincidental. I will enter this as a separate, related issue.

CommentFileSizeAuthor
missing_node_type.png67.65 KBsath01

Comments

sath01’s picture

mcrump’s picture

Has anyone come up with a fix for this? I'm bumping up against this myself right now.

mcrump’s picture

Answering my own question here in case someone else stumbles across this. At least in my Drupal 7 installation the "node" entity type is still there but it is not labeled "Content".

tr’s picture

Status: Active » Closed (works as designed)

Like #3 says, the proper name for a "node" entity is "Content". That's it's official human-readable label in Drupal 7 and Drupal 8. "node" is just the machine name, and the documentation tries to avoid using machine names because they're not supposed to be exposed to the end user. "Content" is one of the selections in the image added by the original poster, so it is clearly present. The other issue about a non-collapsible "Settings" fieldset sounds like a site-specific problem - perhaps you're using jQuery update or some other JavaScript package that conflicts with Drupal's core fieldset expansion.

Regardless, that's a separate issue. If it's still a problem with the current version of Rules, please open a new issue with details of how to reproduce the problem.