Download & Extend

Unpublished nodes (container, assigned nodes) visible in menu

Project:Category
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

screenshot attached. The container in question is called 'Collaborate'

AttachmentSize
container_not_unpublished.gif9.55 KB

Comments

#1

Title:Unpublished container still seen in cat_menu tree» Unpublished nodes (container, assigned nodes) show up in cat_menu tree

User Makea reported the same problem with unpublished assigned nodes:
http://drupal.org/node/78091

I requested him to continue the discussion here to create a single point of reference.

#2

Title:Unpublished nodes (container, assigned nodes) show up in cat_menu tree» Unpublished nodes (container, assigned nodes) visible in menu

#3

Going to check, how this works on 6.x-beta3 - then I'll either move this to 6.x, or close (if it was just 4.7.x, some 2.5 years back - that's not a supported version anymore).

EDIT: Possible duplicates (status TBD) #83242: Category_menu publishes menu links for free tagged unpublished nodes, #127501: Conditional Menu Updates - Published Nodes Only (have a patch).

#4

Status:active» closed (fixed)

Tested on 6.x-beta3: Works well, I tried to unpublish a node, unpublish a category and publish it again (to see if nodes are parented to it properly again), submit a node with free tagging unpublished, and un/publish it. All fine, links show/hide as expected.

So this is obviously fixed in 6.x. Older versions are not quite supported now (especially not 4.7.x), so closing.

#5

Just for record, it's actually not fixed on 6.x as such, but since core doesn't show links to unpublished nodes in general (done by menu system), these links never appear on 6.x. They are still stored in the menu_links table - I'm going to deal with that over at #481280: Generated menu items vs. menu administration and weights, just in case...