When manually creating a term through the drupal taxonomy, menus are created in the menu system, but when trying to move existing terms from one vocab to another vocab, menus are not created in either the menu's section or taxonomy menu blocks.

anyone have any ideas?

Comments

YK85’s picture

subscribing

klopsen’s picture

Similar things happend to me.
In my case, taxonomy parent value wasn't passed into menu rebuild functions and menu tree failed to rebuild properly. So theese lines were added:

Index: taxonomy_manager.admin.inc
@@ -1763,6 +1763,9 @@
     }
     $term = (array) taxonomy_get_term($tid);
     $term['fields'] = $param['term_data']['fields'];
+    if (module_exists('taxonomy_menu')) {
+      $term['parent'] = array_keys(taxonomy_get_parents($tid));
+    }
     module_invoke_all('taxonomy', 'update', 'term', $term);
     module_invoke_all('taxonomy_manager_term_data_submit', $param, $values);
   }

It works fine now. Maybe this will help others. Or maybe there's another way to solve it...

gielfeldt’s picture

Could this be related to hook_taxonomy not being invoked: http://drupal.org/node/1131904

If so, then that would be a cleaner solution, than the tight coupling to taxonomy_menu.

spgd01’s picture

Any news on implementing a fix?

ivnish’s picture

Issue summary: View changes
Status: Active » Closed (outdated)