In the case of a node preview, the item list has both 'value' and '#delta', but the code in content_taxonomy_field_formatter()
then ends up displaying the term twice (once for each, value and delta). On actual node display, it works fine, though, so I don't think the later formatting code should touched.

The fix seems to be:

  if ($node->in_preview) {
    if (is_array($item)) {
      foreach ($item as $key => $tid) {
        if ($key =="value"){  // add this to filter down to only the value key, and avoid delta key, which if also expanded, ends up doubling term display.
          $item[$key] = taxonomy_get_term($tid);
        } // close if
      }
    }  
  }

Comments

magnus’s picture

Status: Needs review » Closed (won't fix)

Cleanup of old issues. According to maintainer: "active development is only done for the 6.x branch! 5.x is not supported any more".
Reopen issue if problem still exist in 6.x branch.