Breadcrumb segments missing for contextual filters with title arguments

Created on 16 May 2025, 20 days ago

Summary:
After updating to Easy Breadcrumb 2.0.9, breadcrumb segments generated from contextual filters no longer display their titles, rendering as empty elements in the breadcrumb. This issue affects views with date-based contextual filters, such as /news/2022/11, where the breadcrumb segments for the year and month are present but empty.

In Easy Breadcrumb 2.0.7, these segments correctly rendered using %1, %2, or {{ argument }}. However, in 2.0.9, none of these patterns produce output in the breadcrumb, though they continue to work in the view title.

Steps to Reproduce:

  • Install Easy Breadcrumb 2.0.9.
  • Create a view with date-based contextual filters (e.g., field_date_value_year and field_date_value_month).
  • Override the titles of the contextual filters using tokens like %1 or {{ argument }}.
  • Visit a URL like /news/2022/11.
  • Observe that the breadcrumb segments for 2022 and 11 render as empty elements.

Expected Behavior:
The breadcrumb segments should display the argument titles, such as 2022 and November.

Actual Behavior:
Breadcrumb segments appear but contain no text, rendering as empty elements.
Environment:
Drupal 10.4.x
Easy Breadcrumb 2.0.9

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dgwebcreative Reno, NV

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

Comments & Activities

Production build 0.71.5 2024