Exemple:

node1 is a node with taxonomies and a long text;
node2 is a node without taxonomy and with only a single line;

If, on the front page node2 appears on top of node1...

I get

title of node2

This is a short text!

title of node1 taxo1 | taxo2 | taxo3

This is a long text!

read more

---

which is good

But if node1 appears on top of node2. I get:

title of node1 taxo1 | taxo2 | taxo3

This is a long text!

read more

title of node2 taxo1 | taxo2 | taxo3

This is a short text!

read more

The bug doesn't produce with Unconed or even the base theme. Only xtemplate.

Comments

JonBob’s picture

Thanks for the excellent bug report. The patch to fix this is small and simple; I've sent it to the development list for review.

If you want to fix yours manually, add the lines:

    } else {
      $this->template->assign("taxonomy", "");

after line 45 in xtemplate.theme.

Dries’s picture

I've committed your patch to the DRUPAL-4-2-0 branch and the HEAD branch. Marking this fixed. Thanks Jonathan.

Dries’s picture

Assigned: Unassigned » Dries
Anonymous’s picture