Closed (outdated)
Project:
Field collection
Version:
7.x-1.0-beta4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2012 at 05:01 UTC
Updated:
17 Nov 2016 at 20:45 UTC
Jump to comment: Most recent
Comments
Comment #1
remaye commentedSame issue for me (7.x-1.0-beta4+4-dev)
Any idea ?
Comment #2
remaye commentedBump the issue providing more information:
When I add a fieldcollection item using the "add" link, the item does not appear neither in the node view and in the node edit form.
In the data base :
- all the fields related to the FC item are created in their own table
- the FC item is created in the 'field_collection_item' table with the correct FC field name [FC_name]
- the FC item is created in the 'field_[FC_name]' table
but :
1- the language of the FC item is not correct : when adding FC item with the node edit form, the language is 'fr' or 'en' but when adding it through the "add" link the language is set to 'und'
2- also the "delta" seems not correct : the delta is set regarding to the delta of the other items with the same language, so items with 'fr' and items with 'und' can have the same 'delta'. Not sure but I would say it will not be correct for content allowing undefined language...?
However, in my case the problem is not the point (2) but rather the point (1) as the node type including the FC is defined as : "multilingual support enabled with translation " and "Require language (Do not allow Language Neutral)"
The FC field is defined as "Users may translate this field"
All the fields composing the FC are defined as "Field translation:This field is shared among the entity translations."
Module version is : 7.x-1.0-beta4+11-dev patched with https://drupal.org/node/1683784#comment-6431954
Comment #3
rmedard commentedI had exactly the same issue. I could add FC items and get them show up on the node page only if I edited the node and not if I used the add link.
I just disabled translation on the FC field along with its inner fields(probably not necessary) and everything works fine.
Comment #4
jmuzz commentedSupport for translation involving field collections wasn't supported when this issue was created, but it has since been added so this should be working now.
Comment #5
taocode commentedI noticed this problem when I updated to beta12. I disabled translation for the Field, which produced an error. I was able to re-enabled translation (without copy) and now the Add link on the view page works for me.