Everytime I try to add a feild to a content type, I get this message in a WSOD:
Call to undefined function field_attach_field_has_data() in /Users/Jeff/Sites/drupalhead2/drupal/modules/field_ui/field_ui.admin.inc on line 817
If I refresh the page, the field is listed, so it is being inserted despite the error.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 592286_field_has_data.patch | 714 bytes | ksenzee |
Comments
Comment #1
ksenzeeI ran into this too. Looks like the function name got changed to field_has_data. Patch attached.
Comment #2
ksenzeeComment #3
ksenzeeAnd boy do we need some field_ui tests. :/
Comment #4
bjaspan commentedMy bad, I renamed the function and must have missed this call (and so did the reviewer :-)).
Comment #5
dries commentedOops. Rather than blaming the developer and the committer, I'd rather blame the tests. ;-)
Committed to CVS HEAD.