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 |
Jump to:
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
Fix committed for HEAD/4.7. Thanks.
#2
#3
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
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
My previous post was with 4.7.0 version.
#6
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
An update on category_menu issue (author: Ramdak at node/75899, closed now)
updating title also for remembering better
#8
For what it's worth, a similar scattering of menu items happens during taxonomy to category conversion:
http://drupal.org/node/90580
#9
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
Update: It seems like I finally see what happens - I have a patch at #481280: Generated menu items vs. menu administration and weights now.