Download & Extend

Devel generate field_info_instances() error

Project:Devel
Version:7.x-1.x-dev
Component:devel_generate
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
devel_generate.patch1.63 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:active» needs review

#2

patch works for me. rerolled to remove CRs.

AttachmentSizeStatusTest resultOperations
607310_fix_node_generate.patch1.66 KBIgnored: Check issue status.NoneNone

#3

Status:needs review» fixed

Committed. Thanks !

#4

Status:fixed» closed (fixed)

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