Skip to content

Support old hyphenated tokens (field-tags) in addition to current underscored (field_tags) #144

@bugfolder

Description

@bugfolder

Many tokens that were hyphenated in Drupal 7 are now underscored in Backdrop, e.g., field-tags is now field_tags. For Rules imported from D7, the old-style tokens will no longer render. Users will need to update their Rules.

Things we could consider doing to help them out:

  • Detect old-style tokens and warn them about it during upgrade;
  • Automatically handle old-style tokens, but post a deprecated-token warning in watchdog;
  • Automatically change any old-style tokens (but that would require overriding any rules with old-style tokens that exist in code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions