Do not (yet) enable taxonomy menu for any of the site's vocabularies
Add a bunch of terms to the Tags vocabulary in the term UI. Do not assign terms to nodes. Be sure that there is some hierarchy of terms
Now, head to the configuration page for the Tags vocabulary
Enable taxonomy menu for the main menu
Be sure that "Add all menu items to the same level rather than retaining term hierarchy." is unchecked
Check "Rebuild the menu on submit"
Submit
All terms are added at the root level of the main menu, regardless of their hierarchy.
The problem is that, when ported, the module is missing some crucial lines. Specifically, _taxonomy_menu_save() never calls _taxonomy_menu_insert_menu_item(), which results in the taxonomy_menu table not being populated upon rebuilding of the menu links. In fact, in the Backdrop version, _taxonomy_menu_insert_menu_item() is NEVER called, meaning that the table is never used.
To reproduce:
All terms are added at the root level of the main menu, regardless of their hierarchy.
The problem is that, when ported, the module is missing some crucial lines. Specifically,
_taxonomy_menu_save()
never calls_taxonomy_menu_insert_menu_item()
, which results in thetaxonomy_menu
table not being populated upon rebuilding of the menu links. In fact, in the Backdrop version,_taxonomy_menu_insert_menu_item()
is NEVER called, meaning that the table is never used.