BreadcrumbManager may rebuild breadcrumbs twice for the same route

Created on 1 May 2020, over 5 years ago
Updated 15 August 2025, 8 days ago

(I have no idea what component this would belong to.)

I discovered that breadcrumbs were being built twice for a page when the breadcrumb block was present and using schema_web_page to add Schema.org markup for breadcrumbs. This caused Facets to alter the system breadcrumbs twice.

\Drupal\Core\Breadcrumb\BreadcrumbManager::build should contain some form of cache for duplicate calls to itself to prevent duplicate breadcrumb calculations.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

render system

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024