Aug 17, 2011 UPDATE
The basic field tokens have been committed to 7.x-1.0-beta4 release. We are working on part two which involves writing tests for the base-level tokens, and supporting more detailed, nested tokens. For developers looking to start integrating their module's fields with tokens, please read http://drupal.org/node/1252608.
Subscribing to updates on this issue
Comments are now locked as this issue has become too long with too many 'Subscribe' comments. If you would like to stay updated on the progress of this issue, join the Token group at http://groups.drupal.org/tokens (you must be logged in to drupal.org to join). I will be sending out e-mails to all of the group's members with major updates to this issue.
We need field tokens for Drupal 7. This capability used to be provided by CCK, but CCK was moved into core without this functionality, and Drupal 7 shipped without it in order to meet its release date. This issue is discussing how to add this capability back to Drupal 7, with the advent of the new Field API in D7 core.
This issue will act as a primary communication mechanism for major happenings around this important issue.
Details of proposed resolution can be found in the following sub-issues.
If you are a developer interested in helping to see this issue fixed, please help unblock the following issues:
If you are a site builder who needs access to field tokens, please do NOT subscribe to those issues (which will add noise to the discussion), but instead subscribe to this one; it will be updated with major happenings when they occur.
A side note that if you need simple node/term tokens, you should be looking into using the http://drupal.org/project/taxonomy_entity_index. It provides a [node:terms] token so that you can use [node:terms:first] to get the 'first' term associated with a node, just like the Drupal 6 [term-raw] token.
Original report by Deciphered
// Text of original report here.
(for legacy issues whose initial post was not the issue summary)
It doesn't appear that Fields are exposed to the Tokens system?
Seems like a fairly major oversight to me.
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 691078-466_same_as_462.field_tokens_remake.patch. Unable to apply patch. See the log in the details link for more information.|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 691078-466_same_as_462.field_tokens_0.patch.|
|FAILED: [[SimpleTest]]: [MySQL] Invalid patch format in 691078-466_same_as_462.field_tokens.patch.|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 691078-462-field_tokens_0.patch.|
|FAILED: [[SimpleTest]]: [MySQL] 0 pass(es), 14 fail(s), and 0 exception(es).|