Devel generate field_info_instances() error
peximo - October 17, 2009 - 17:36
| Project: | Devel |
| Version: | 7.x-1.x-dev |
| Component: | devel_generate |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Description
Hi,
I found this problem in devel_generate: the function cck_generate_fields() call field_info_instances() and pass to this function the bundle name but not the object type, so field_info_instances() fail to get the instance.
This patch should fix the problem.
| Attachment | Size |
|---|---|
| devel_generate.patch | 1.63 KB |

#1
#2
patch works for me. rerolled to remove CRs.
#3
Committed. Thanks !