Posted by yched on August 27, 2009 at 12:00am
6 followers
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | field system |
| Category: | bug report |
| Priority: | critical |
| Assigned: | pounard |
| Status: | closed (fixed) |
| Issue tags: | translatable fields |
Issue Summary
field_attach_preprocess() was (re-)introduced by #367595: Translatable fields, but currently only node module calls it.
Other fieldable entities (users, comments) should call it too. Taxo terms are a little off, because thet're not rendered through a template right now.
Comments
#1
@yched:
Yes, that's true, although I'm trying to make the UI work with any fieldable entity. However without this themers needing to access the raw field values would still need to specify the langcode (FIELD_LANGUAGE_NONE), so this is needed. Not critical, though.
#2
#3
This is my first shot with field module, patch definitely needs review
#4
Proper file (without header junk)
#5
Great !
Aside from the missing '.' at the end of both
+ // Preprocess fieldscomments, this is ready to go#6
Just fixed the comments. RTBC.
#7
The last submitted patch failed testing.
#8
This probably needs a re-roll?
#9
Rerolled
#10
The last submitted patch, field_attach_preprocess-560608-9.patch, failed testing.
#11
This should work.
#12
Green. Setting RTBC per #6.
#13
Committed to HEAD.
#14
Automatically closed -- issue fixed for 2 weeks with no activity.