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
Comments
Comment #1
Jaza commentedFix committed for HEAD/4.7. Thanks.
Comment #2
(not verified) commentedComment #3
venkat-rk commentedReopening 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.
Comment #4
venkat-rk commentedSame 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.
Comment #5
venkat-rk commentedMy previous post was with 4.7.0 version.
Comment #6
venkat-rk commentedAnother 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.
Comment #7
marcoBauli commentedAn update on category_menu issue (author: Ramdak at node/75899, closed now)
updating title also for remembering better
Comment #8
venkat-rk commentedFor what it's worth, a similar scattering of menu items happens during taxonomy to category conversion:
http://drupal.org/node/90580
Comment #9
JirkaRybka commentedScattered 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.
Comment #10
JirkaRybka commentedUpdate: It seems like I finally see what happens - I have a patch at #481280: Generated menu items vs. menu administration and weights now.