Closed (duplicate)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Code - misc
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2011 at 06:51 UTC
Updated:
3 Nov 2011 at 20:41 UTC
May be a field collect field issue, but figure features should not be exporting an entity anyway.
'default_value' => array(
0 => array(
'entity' => { // this line
"item_id" : null,
"field_name" : "field_name",
"field_name_amount" : { "und" : [ { "value" : "1" } ] },
"field_name_type" : { "und" : [] }
}, // and line
),
),
Comments
Comment #1
mh86 commentedI can confirm this problem when using a field collection with the embedded widget.
Comment #2
mh86 commentedMoving this bug report to the Entity API module, as it is responsible for the export code.
Comment #3
amitaibuSubscribe
Comment #4
Ciraxis commentedsubscribe
Comment #5
stevectorThis looks like the same bug as #1269750: Exporting a Field Collection field with a default value to Features leads to a PHP parse error
There is discussion in that thread as to whether this is a Features bug or an Entity/Field Collection bug.
Comment #6
hefox commentedSince that one has discussion