After changing the category machine name I get the Notice
Notice: Undefined index: href in menu_local_tasks() (line 2051 of /home/.../includes/menu.inc).
The notice appears on /taxonomy/term/*/edit /taxonomy/term/*/translate

I tried to reproduce this with a fresh Drupal install but can't and I don't know how to further narrow down the issue. I have tried the stable versions of Drupal & Views and the development versions. The closest I get is that after disabeling views module the notice disappears. So I am not sure weather this is actually a views issue but I figure there should be an issue somewhere so ppl can find it and maybe add aditional information.

In any case when changing the machine name back the notice disappears.

Comments

dawehner’s picture

Hi sebastian. One thing i'm not sure here is what do you refer as "category" machine name, as there is either the machine name of the vocabulary or the human readable name of the taxonomy term.

I guess you use the normal taxonomy term view? Maybe you have also adapted some parts of it, like configured some parts of the contextual filters in a special way.
There could be problems when you change the machine name of vocabs as views doesn't react on that at the moment and i'm not sure whether it's worth the effort.

s.daniel’s picture

Title: Notice: Undefined index: href in menu_local_tasks() after changing category machine name when views is enabled » Notice: Undefined index: href in menu_local_tasks() after changing vocabulary machine name when views is enabled
Status: Active » Postponed

Hi Daniel,

thanks for your reply - youre right I wanted to refer to the vocabulary machine name which can be changed here: /admin/structure/taxonomy//edit

I don't know as well weather views should handle this situation since it is very rare but in case somebody wants to work on this here is the hook that would probably have to be implemented: hook_taxonomy_vocabulary_update

Core issue for that hook: http://drupal.org/node/876762