It appears the current behavior is undefined when different revisions of the given node have different breadcrumbs. This can cause frustration for users when they create a new revision, modify the taxonomy breadcrumb, and yet their new selection does not appear. Similarly, when viewing older revisions the system does not show the breadcrumb that had been selected for that specific revision. This appears to be true of 6.x-1.0 and 6.x-1.x-dev.

The patch below fixes this problem by making taxonomy_breadcrumb_nodeapi() and _taxonomy_breadcrumb_node_get_lightest_term() handle revisions predictably, modifying the existing query that simply ignores revision id (node_term.vid).

This discussion started with comment #23 in #372813: Reordering taxonomy terms with drag-and-drop removes taxonomy breadcrumb path. It seemed like a separate issue but please correct me if there is a better place to post this or a better solution to this issue.

CommentFileSizeAuthor
tax-bread-revision.patch2.21 KBbowersox

Comments

bowersox’s picture

Status: Needs review » Closed (duplicate)

Update: The patches in #372813: Reordering taxonomy terms with drag-and-drop removes taxonomy breadcrumb path fix this problem too. Those patches do so in a different way, making this patch unneeded.

Marking as duplicate.