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.
Comments
Comment #3
mehul.gadaHi 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.
Comment #4
mehul.gada