Renaming a context, changing either label or machine name, does not properly update the admin menu (Structure -> Context).

If only the label has changed, the sub-menu item will still reflect the old label.

If the machine name has changed, the Context sub-menu will have links to context before and after the machine name was changed. The new sub-menu link will work, but clicking on the old sub-menu link does not. The only way to remove these old menu links is to create a context with the exact same machine name and then delete that context.

CommentFileSizeAuthor
#3 3284359-3.patch716 bytesmehul.gada

Issue fork context-3284359

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

elimw created an issue. See original summary.

mehul.gada made their first commit to this issue’s fork.

mehul.gada’s picture

StatusFileSize
new716 bytes

Hi elimw,

The next release of this module will have menu creation functionality (on each context creation/update) will be removed as part of Issue https://www.drupal.org/project/context/issues/3280556. So you can either wait for the next stable release or apply the attached simple patch. Sorry, I could not raise MR as the branch created from 8.x-4.x already has the menu creation code removed.

mehul.gada’s picture

Status: Active » Needs review