I'm trying to use this module for the D7 port of project_issue to solve #1983294: Special-case the display of field_issue_assigned to handle unassigned issues. It's almost working, except that in _token_formatters_field_formatter_prepare_view_entityreference() there's this:

  foreach ($entities as $id => $entity) {
    foreach ($items[$id] as $delta => $item) {
      if (!empty($item['target_id'])) {
        $target_ids[] = $item['target_id'];
      }
    }
  }

That !empty() means the formatter never tries to invoke our custom token for UID 0...

davereid says I should open an issue about this here. ;)

Comments

dave reid’s picture

Status: Active » Fixed
dww’s picture

Sweetness. Confirmed it's working locally now. Thanks!!!

Automatically closed -- issue fixed for 2 weeks with no activity.