Deleted Context link not removing from admin toolbar menu

Created on 19 March 2023, almost 2 years ago
Updated 21 March 2023, almost 2 years ago

Problem/Motivation

On Context removal or editing link to non existing context still appears in dropdown menu.

Steps to reproduce

In Admin/structure/context create new context save it and then edit its title and machine name. in Admin toolbar you will see new context and old one before editing which goes to 404 page

Proposed resolution

After Mehul comment it's clearly not a Admin Toolbar issue
please follow this link https://www.drupal.org/project/context/issues/3284359 🐛 Renaming context does not update admin menu Needs review

🐛 Bug report
Status

Closed: works as designed

Version

3.3

Component

User interface

Created by

🇬🇧United Kingdom vitaliych

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vitaliych
  • 🇮🇳India prashant.c Dharamshala

    Following the steps you provided, I was unable to reproduce it on Drupal 9.5.x while using version 8.x-4.1 of the context module from https://www.drupal.org/project/context .

  • 🇬🇧United Kingdom vitaliych

    Hi Prashant, thanks for your reply
    I'm Using Drupal 9.5.5 context 8.x-4.1 Admin toolbar 3.3.0 with Claro administration theme
    Ddev development environment on MacMini M1 chipset

    Context module it self working fine and not showing any issues ... admin tool dropdown menu has a bug

    Steps to reproduce after installation:

    1. create a context.
    2. Edit this context especially machine name
    3. you should see in drop down menu your old (not edited context name will lead to 404) and new one which works fine

    might be some helpful to reproduce. You may ask me any question i'll be happy to reply here

  • 🇮🇳India mehul.gada Mumbai

    Hi vitaliych,

    The issue is neither with the Admin Toolbar menu nor caching issue. It is an issue with the Context menu. When the machine name for given context is changed, it is adding a new menu instead of updating an existing one and a bug report - https://www.drupal.org/project/context/issues/3284359 🐛 Renaming context does not update admin menu Needs review is already open for the same. Let me push a quick fix there and you can close this request.

    Thanks

  • 🇬🇧United Kingdom vitaliych

    Hi Meghul,
    Thank you very much for clarity ...
    Do i need to close the bug here?

  • Status changed to Needs review almost 2 years ago
  • Status changed to Closed: works as designed almost 2 years ago
Production build 0.71.5 2024