Problem/Motivation

I upgraded admin_toolbar from version 1.27.0 to 2.0.0 and noticed that some of the links couldn't be found (when Admin Toolbar Extra Tools is enabled). For example the edit link of my Tags taxonomy wasn't found in the correct place in the menu, it had been moved one step up. I took some screenshots before and after the upgrade:

Before:

Screenshot of Taxonomy menu with edit link

After:

Screenshot of Taxonomy menu without edit link

An additional cache clear moved the edit link of the taxonomy to the root level of the administration menu found under /admin/structure/menu/manage/admin which also seemed very odd.

This issue can be reproduced on a fresh Drupal 8 site using the 8.x-2.0 version of Admin toolbar. Steps to reproduce (I tested this on simplytest.me):

  1. Enable Admin Toolbar module
  2. Enable Admin Toolbar Extra Tools submodule
  3. Go to Structure -> Taxonomy -> Tags in the admin menu. You would expect to see an edit link here but it's missing.
  4. Go to admin/structure/menu/manage/admin, you'll see that the edit link for the taxonomy is actually on the root level
  5. It also appears that the Basic block menu has been moved to the root when it should be under Structure -> Block layout

Comments

gaards created an issue. See original summary.

hardik_patel_12’s picture

Assigned: Unassigned » hardik_patel_12
hardik_patel_12’s picture

You can use this patch for proper edit links in admin menu

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Active » Needs review
abhisekmazumdar’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new62.57 KB
new65.85 KB

Hy @Hardik_Patel_12
I have tested the patch, the links are now in the proper hierarchy.

Before:

After:

adriancid’s picture

Status: Reviewed & tested by the community » Fixed

Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.