I am using Drupal 6.x beta3. When a user creates a blog entry, and then an administrator edits the blog entry, the breadcrumb for the blog shows the creaters name, but links to the administrators blog page. Can someone please confirm that this is happening on another instance, so I can rule out my environment as the issue. Here is the code responsible for creating the breadcrumb, starting at line 104 of blog.module:

/**
 * Implementation of hook_view().
 */
function blog_view($node, $teaser = FALSE, $page = FALSE) {
  if ($page) {
    // Breadcrumb navigation
    drupal_set_breadcrumb(array(l(t('Home'), NULL), l(t('Blogs'), 'blog'), l(t("@name's blog", array('@name' => $node->name)), 'blog/'. $node->uid)));
  }
  return node_prepare($node, $teaser);
}

Comments

rcorsaro’s picture

I have confirmed that this is an issue on a clean install. I will attempt to fix it and post my findings here.

AjK’s picture

Please use the issue queues to report potential bugs.

http://drupal.org/node/add/project-issue/drupal