Active
Project:
Drupal core
Version:
main
Component:
menu system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2026 at 09:14 UTC
Updated:
3 Nov 2026 at 16:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
malcomio commentedLooking at the history of the code for the message, it comes from #2880152: Convert custom menu links to be revisionable
In my case, I'm not sure how the menu ended up in this state.
It isn't obvious from the UI how an editor can set revisions on menu links, and even looking in the database it's not straightforward to work out which links are causing the problem.
Digging further into the code, I can see that classes are added "color-warning menu-link-content--pending-revision", so the problematic links are styled, but it isn't very obvious, especially if the menu has a lot of links.
Perhaps the message could link down to the relevant menu items?
Comment #4
rob230 commentedIs it happening if the content has a pending revision, it creates a pending content menu link revision?
I agree that this warning message is unhelpful. On one site I maintain there are hundreds of links in the main menu tree, and there is no way to know which one is the problem. I ran some custom code to find out and it was a link to a published node which has some pending draft revisions. But the thing is, the draft isn't ready to go live, but the editors still want to be able to change the position of other menu links.
I think at the very least there needs to be a page which shows which menu links have pending revisions.
Comment #5
rob230 commentedHere's a very basic starting point. It just adds the problematic menu items in a bullet list on the same page.
Example:

This was done against Drupal 11.2.
Comment #6
darby3I just ran into an issue like this; the patch above helped track down the problematic page (on a local instance of the site). Patch applies cleanly on 11.4.10.
Comment #8
malcomio commentedI've put the changes from @rob230's patch into a merge request: https://git.drupalcode.org/project/drupal/-/merge_requests/17674/diffs
See https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... for background on patches being deprecated