Skip to content

Bug: Can't specify pathauto pattern for corporate body terms #1470

@kayakr

Description

@kayakr

With a reasonably fresh playbook instance, if I visit /admin/config/search/path/patterns/add and try and specify a pathauto pattern for a corporate_body term, e.g. pattern=/agent/[term:name], when I submit the form I get "The website encountered an unexpected error. Please try again later." and dblog shows:
"Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_bundle:taxonomy_term" plugin does not exist. Valid plugin IDs for Drupal\Core\Condition\ConditionManager are: request_path_exclusion, entity_bundle, group_type, media_has_term, file_uses_filesystem, node_had_namespace, parent_node_has_term, media_uses_filesystem, node_is_islandora_object, node_has_parent, content_entity_type, node_is_published, media_is_islandora_media, node_has_term, media_has_mimetype, language, node_type, current_theme, request_path, user_role in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /var/www/html/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php)."

  • Using Pathauto 8.x-1.6 and CTools 8.x-3.2 on Drupal 8.8.2
  • Pathauto patterns for nodes can be added ok.

Has anyone else tried this?

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