menu and 'edit/view' tabs disappeared

jimkont - June 4, 2009 - 14:52
Project:Node breadcrumb
Version:6.x-1.0-beta5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

After an upgrade from 5.x to 6.11 everything seemed to work great
however, after a few days the site started not to display the edit/view tabs not only for the users that has access, but for me (administrator user/1) as well
it is not a permission problem (like other issues) since both me and the user can edit the nodes when we enter the address manually (www.example.com/node/xx/edit). In this case the tab menus are shown correctly.

when this happened something else strange happened as well
1) all the 'administrator menu' entries for the user disappeared (not for me)
2) the gmap location block does not display in node view (for all users, even anonymous) ,but only when i edit the node

I thing they are connected somehow and has to do something with menu_router table
i updated the site to 6.12, cleared the cache, rebuild the menus with devel module as other issues suggested but nothing happened ...
any suggestions?

#1

jimkont - June 8, 2009 - 11:20
Project:Drupal» Node breadcrumb
Version:6.12» 6.x-1.0-beta2
Component:menu system» Code

by toggling the modules on/off i found out that this is a node_breadcrumb issue
when i disabled the module everything was normal

#2

edhel - June 9, 2009 - 09:54

I don't know yet how to correctly port node_breadcrumb to Drupal 6.x... unfortunately.

#3

midkemia - June 9, 2009 - 19:38

I moved from the 5.x to 6.x branch back in November and have seen no issues other than those of my own making.

Lots of modules installed and lots of memory available. I can see a potential issue when the list of node breadcrumbs grows big without some form of paging.

Which makes me wonder if resources may be an issue for the OP ?

Also in my case Update Status is off, as it seems to behind many issues i have had, again resources related

#4

giorez - August 15, 2009 - 08:45
Version:6.x-1.0-beta2» 6.x-1.0-beta3

I confirm that 6.x-1.0-beta3 makes disappear the edit/view tabs. If I revert to 6.x-1.0-beta2 or I disable the module, everything get back to work properly.

#5

edhel - August 15, 2009 - 15:04

I hope that it's fixed in beta4 at last)

#6

giorez - August 15, 2009 - 17:42
Version:6.x-1.0-beta3» 6.x-1.0-beta4
Status:active» closed

beta4 works properly

#7

richi - October 13, 2009 - 07:15
Version:6.x-1.0-beta4» 6.x-1.0-beta5
Status:closed» active

In 6.x-1.0-beta5 the 'edit/view' tabs disappeared again.

With some testing i found out, that if i set the line

// menu_set_item($_GET['q'], $menu_item);

to
// menu_set_item($_GET['q'], $menu_item);

in function
function _node_breadcrumb_set_location($mid, $last_path, $last_title) {

then the tabs come back.

I am not shure if this helps, but maybe

#8

edhel - October 13, 2009 - 10:07

On my test system edit/view links are visible in beta5.

Beta5 differs from beta4 only by one new line drupal_get_title() in function node_breadcrumb_init().

#9

richi - October 15, 2009 - 19:29

On my testsystem whith beta4 the 'edit/view' tabs also disappears.

#10

NigelCunningham - November 30, 2009 - 22:12

Confirmed with node breadcrumb 6.x-1.0-beta6.

 
 

Drupal is a registered trademark of Dries Buytaert.