Install
Works with Drupal: ^10.4 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Bug-fix release. Recommended for anyone running 1.0.0-alpha3 refresh workflows where menu links
are rewritten.
Rewriting a URL that appears in menu links updated
`menu_link_content_data.link__uri` correctly, but left the
denormalized `{menu_tree}.url` — the table the front-end menu
renderer actually reads — with the pre-rewrite value. Editors saw
the new URL in the menu edit form; site visitors kept clicking the
old one. `drush cr` did not help because the stale value lives in
a table, not a cache.
Fixed by tracking the affected `menu_link_content` entity IDs
during the SQL rewrite and, in the batch/drush finalize step,
invalidating their per-entity cache tags before calling
`MenuLinkManager::updateDefinition()` for each entity — the same
targeted path `MenuLinkContent::postSave()` follows when a menu
link is edited normally.