Hi.

If you enable the FAPE module (and I'm assuming also the "quickedit" module from spark, or try to port to Drupal 8), you'll see errors when trying to edit a field that's NOT a field_collection. The errors look like this...

Undefined index: field_field_collectionin field_collection_fieldset_field_attach_form() (line 455 of .../sites/all/modules/contrib/field_collection_fieldset/field_collection_fieldset.module).

I'm guessing if we add

(!empty($form[$field_name]))

as a condition on each iteration it will fix it. I'll try to send a patch soon.

Comments

captainack created an issue. See original summary.

captainack’s picture

Issue summary: View changes
captainack’s picture

Status: Active » Needs review
StatusFileSize
new3.21 KB

This seems to work for me without side-effect.

socialnicheguru’s picture

worked for me

nagy.balint’s picture

Status: Needs review » Reviewed & tested by the community

Works for me as well.