psu-libraries / psulib_base

Drupal Base Theme
0 stars 0 forks source link

Breadcrumbs are being improperly cached #91

Closed zipymonkey closed 1 month ago

zipymonkey commented 1 month ago

This requires the alias and menu migration to be run.

Steps to Duplicate

Technical details

The url cache context needs to be added to the breadcrumb preprocess array. Example

  $variables['#cache']['contexts'][] = 'url';

Testing Instructions

zipymonkey commented 1 month ago

This appears to have been handled by the CKEditor Link Filter in D7. The CKEditor Link module has no D10 support but there is a patch to add this to the pathologic module: