Incorrect path from token

Created on 24 May 2023, over 1 year ago
Updated 29 May 2023, over 1 year ago

Problem/Motivation

The token in the URL is not correct.

Steps to reproduce

1. Install the module
2. Content with a taxonomy term field
3. Taxonomy term with Pathauto pattern tid/name, so the generated alias is like 10001/category-1
4. set the pat as /[node:field_category:entity:url:path] in custom breadcrumbs

The path only shows /category-1 without 10001. I try to add the tid byt setting the path as /[node:field_category:entity:tid]/[node:field_category:entity:url:path] in custom breadcrumbs, but it show twice of the tid in the path, which is 10001/10001/category-1.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

custom_breadcrumbs_paths

Created by

πŸ‡¨πŸ‡³China hongqing

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

Comments & Activities

Production build 0.71.5 2024