I'm running Drupal 6 RC1 with CCK HEAD installed.

Steps to take:

  1. Create nodes A and B that have a nodereference to each other
  2. Set nodereference display in full nodes to teaser
  3. Set nodereference display in teasers to hidden
  4. View node A

What I expected:

A is shown in full with a teaser of B underneath.

What happened:

A is shown in full, with a teaser of B underneath, with a listing containing A under that.

I've also seen infinite recursion happen with the same settings, but I'm not sure what combination of references leads to that.

Comments

moshe weitzman’s picture

Status: Active » Closed (duplicate)

i'm pretty sure that the formatter patch has code to defend against this. see http://drupal.org/node/213279

yched’s picture

Not sure about that. The formatters patch simply replicates the current code, which itself come straight out of the D5 version.