Incomplete Breadcrumb Data

Created on 14 February 2023, over 1 year ago

Problem/Motivation

Breadcrumbs do not have all "parent" pages from the URL path. Given the URL /sample/page/data, I would expect the following breadcrumbs to be present:

  • /
  • /sample
  • /sample/page

However, only the first breadcrumb for "/" seems to be coming through.

Steps to reproduce

  1. Install the module
  2. Create Nodes for each of the pages in the hierarchy
  3. During node creation, URL aliases are generated
  4. Notice when loading the node's breadcrumbs via $node->get('breadcrumbs')->getValue(), only the "/" route is returned.

I had originally tried this with JSON:API, but noticing the same issue when loading it in standard Drupal setups.

My path aliases are generated via Pathauto, and use tokens within there to generate portions of the alias!
My content is not in a menu.

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Nuuou Lincoln, NE

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

Comments & Activities

Production build 0.69.0 2024