When I add the widget to a content type I get this message:
Warning: Illegal offset type in field_info_instance() (line 702 of C:\xampp\htdocs\relation\modules\field\field.info.inc).
FieldException: Attempt to create a field of unknown type <em class="placeholder">number_integer</em>. in field_create_field() (line 106 of C:\xampp\htdocs\relation\modules\field\field.crud.inc).| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1363468-4-relation-edit-number-dep.patch | 483 bytes | rupl |
Comments
Comment #1
raelianer commentedUpdate: this widget depends on the number module, the dependency should be included.
Gives these warnings anyway:
Comment #2
break9 commentedI have the same issue:
types of fields being referenced in the relationship are:
Term Reference ->autocomplete
Boolean -> single on/off
Date -> Select List
Integer -> Text field
List -> check boxes/radio buttons
Float -> text field
File -> file
Relation -> no edit widget
not sure if this will help us determine what is wrong. I am assuming that this module doesn't play well with one or more of the field types?
Comment #3
break9 commentedI uploaded the dev version : 7.x-1.x-dev and the errors went away.
Before the upgrade to the dev install the field would display in node/add or node/edit with the errors in the previous comment. Now the errors are gone but there is no relation-edit field displayed in the node/add or node/edit anymore.
Comment #4
ruplI believe this is because relation_edit requires the core Number module. Enabling the core Number module eliminated the
number_integererror for me.Patch!