Cat_menu: updating containers scatters menus everywhere

venkat-rk - June 21, 2006 - 05:33
Project:Category
Version:4.7.x-1.x-dev
Component:Category_menu
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Please close if this isn't a new issue.

Problem:
If I forget to set a container's attribute as hidden when *creating* it, its menu link obviously shows in the menu tree. If I go in and change it to hidden and save the changes, the menu tree fails to update the change and still shows the menu link until I visit admin/menu and disable it.

However, if I correctly set the attribute to hidden while creating the container, cat_menu behaves well and doesn't show the link.

Drupal version: 4.7.2
Category module: downloaded on 20th June

#1

Jaza - July 10, 2006 - 12:18
Status:active» fixed

Fix committed for HEAD/4.7. Thanks.

#2

Anonymous - July 24, 2006 - 12:30
Status:fixed» closed

#3

venkat-rk - July 27, 2006 - 05:15
Version:<none>» HEAD
Status:closed» active

Reopening the issue.

If a container has several categories, is *then* changed to hidden (but with menu items enabled so that the categories can be links under a higher level container), the link to the container is still visible in admin>>navigation but the categories under it get scattered all over the navigation menu- this seems both the opposite of the desired effect and a bug.

This does not seem to happen if the container has no categories initially, is then changed to hidden and the categories are added *after* the update to container status is made. It then seems to work as it should.

#4

venkat-rk - August 1, 2006 - 13:43

Same bug in the following situation also:

1.) Container has a category. cat_menu is set to enabled for container and 'enabled breadcrumbs' for assigned nodes.
2.) menu setting for container is changed to 'enabled breadcrumbs only'.

Result: Menu link for the container disappears from admin/navigation menu, but the link to the category is not disabled and needs to be manually done at admin>>menu.

#5

venkat-rk - August 1, 2006 - 13:43

My previous post was with 4.7.0 version.

#6

venkat-rk - August 1, 2006 - 13:48

Another menu issue- should I submit this against core menu system?

If I edit a container to add a description to its menu link from the 'Menu settings' item on the container's node edit form, the description stays until the preview, but vanishes the moment submit is clicked.

#7

marcoBauli - October 19, 2006 - 13:41
Title:Category_menu does not update well» Cat_menu: updating containers scatters menus everywhere

An update on category_menu issue (author: Ramdak at node/75899, closed now)

I am too tired to hunt through the issue list to find the right thread to post this, so I opted for a new post. Apologies.

This relates to the frequently experienced problem of menu links getting scattered all over admin>>navigation. I found out quite by chance that this may have nothing to do with cat_menu but everything to do with the underlying menu system.

The first time was when I built several static pages, created a menu for them and used the menu settings in the node form to add them to the menu. When I deleted the pages or something similar (oh, I think I deleted the menu), all the links to the pages got scattered.

The second time was today when I shut off cat_menu module and instead created the menu links by hand. Again, I manually created a menu and then the menu links to the containers and categories. When I deleted the menu at admin/menus, the menu links were all over the navigation menu once again.

Just marking this Jaza's attention.

updating title also for remembering better

#8

venkat-rk - October 22, 2006 - 02:01

For what it's worth, a similar scattering of menu items happens during taxonomy to category conversion:
http://drupal.org/node/90580

#9

JirkaRybka - June 4, 2009 - 09:56
Version:HEAD» 4.7.x-1.x-dev
Status:active» closed

Scattered menu items are seen on quite a few 4.7.x issues, it seems. Apart from category_menu having serious bugs back then, it's not a good idea to customize auto-generated menu links, and also the menu system re-parents orphan menu items to the root of navigation menu... Difficult to make some sense in this mix.

But it doesn't matter now, I suppose, as 4.7.x times are gone, and this is 2.5 years silent issue.

Closing.

#10

JirkaRybka - June 6, 2009 - 13:11

Update: It seems like I finally see what happens - I have a patch at #481280: Generated menu items vs. menu administration and weights now.

 
 

Drupal is a registered trademark of Dries Buytaert.