Taxonomy menu does not reflect structure of the respective vocabulary

Created on 9 July 2018, over 6 years ago
Updated 25 February 2025, about 1 month ago

Hello,
I have taxonomy menu in a block, the menu has depth 9. Terms in the taxonomy menu block are sorting randomly (ordering as well as nesting). if I several times force to empty cache, I can eventually get correct situation, but it is lost in any random point in the future or when editing the terms. The vocabulary has now 3 levels, but there will be more. Sadly, this is really killing usability of the module.

🐛 Bug report
Status

Active

Version

3.0

Component

Sync

Created by

🇨🇿Czech Republic Vojta

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇴Norway lise.heika

    I am also having this issue after upgrading from 3.6 to 3.7. I have a depth of 2, and the menu puts all the terms on the same depth. I redid the nesting manually, but after some hours it got undone again. This has never been a problem before 3.7. Has anyone managed to solve this issue?

  • 🇦🇺Australia jannakha Brisbane!

    I found the order of menu items goes crazy if I update order of menu items in menu management interface: admin/structure/menu/manage/main (if it's your main menu)

    If I update the actual structure of taxonomies - then menu renders correctly.

    Check your weight values in config: config/sync/default/core.menu.static_menu_link_overrides.yml

    I wonder if there should be feature to reset menu items weights based on taxonomy weights.

  • 🇵🇱Poland sebaz

    Why do you even touch menu? Taxonomy menu is created to reflect vocabulary hierarchy in menu. If you are manipulating menu it is pointless to use taxonomy menu module.

Production build 0.71.5 2024