Hello,

I have been experiencing this issue since Field collection 7.x.1.0beta7. Upgrading to either beta10 or 7.x.1.0dev did not fix it.

On a content type with about 30 field and two fields collection. One of these field collection has a "text field" and "text area" and "image".
Values are not saved on the text field whereas others are saved fine.

I have backtraced the function "field_collection_field_update" function and debugged the functions called along the way. It goes like this:

Function calls

menu_execute_active_handler from /index.php
call_user_func_array from /includes/menu.inc
node_page_edit
drupal_get_form from /modules/node/node.pages.inc
  • from includes/form.inc
drupal_build_form
drupal_process_form
form_execute_handlers
i18n_node_form_submit
node_save from sites/all/modules/i18n/i18n_node/i18n_node.module
field_attach_update from /modules/node/node.module
_field_invoke from /modules/field/field.attach.inc
field_collection_field_update  from /modules/field/field.attach.inc

When debugging "menu_execute_active_handler", I can see that the text field I updated is not inside the array of the field collection item it belongs to.
As a result, it is not saved.

What should I do to help anyone debug this?

Thank you

Comments

webmaster.mfo created an issue. See original summary.

webmaster.mfo’s picture

Title: Field collection items not saved when using formatted text (in text area) » Field collection items not saved when using formatted text (in text Field)
thi3rry’s picture

I'm experencing the same issue.
I've seen a 500 error says the max_input_vars was overloaded.
I've to increment the max_input_vars up to 1000 to save the form.
But even after that, no values are saved too in any field_collection since i've added my last field_collection.

Hope it can help to solve this issue.

cobaltje’s picture

Priority: Normal » Critical
jmuzz’s picture

Status: Active » Closed (duplicate)
Related issues: +#2599984: Values not getting saved.

Pretty sure this is the same problem. If not then feel free to reopen.