Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291503

Make sure the menu links to 404 pages (e.g. due to bad route parameters) are not rendered

$
0
0

Problem/Motivation

At least in some cases, it's possible to have a link to e.g. user/23 where the user had been deleted but at least for admins the link is still rendered.

Proposed resolution

This will mostly be prevented by:
#2350797: Move node delete cleanup from menu_ui to menu_link_content and handle all entities

However, we should also handle route/parameters not found more correctly and prevent the link from rendering except in the admin UI where it should be visually flagged.

Remaining tasks

doit

User interface changes

minor admin UI change

API changes

none


Viewing all articles
Browse latest Browse all 291503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>