Incorrect path from token [:url:path] with slash

Created on 25 May 2023, over 1 year ago

Problem/Motivation

The path from the token is not correct with D. 10.0.9.

Steps to reproduce

1. Install this module and module Custom Breadcrumbs
2. Create content with a taxonomy term field
3. Taxonomy term Categories 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 by setting the path as /[node:field_category:entity:tid]/[node:field_category:entity:url:path] in custom breadcrumbs, but it shows twice 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.11

Component

Code

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