diff --git a/field_collection.module b/field_collection.module index bf6a005..74ee56c 100644 --- a/field_collection.module +++ b/field_collection.module @@ -203,13 +203,14 @@ class FieldCollectionItemEntity extends Entity { // type. If the property is not set, we are hitting a PDO or a core's bug. // FIXME: Remove when #1264440 is fixed and the required PHP version is // properly identified and documented in the module documentation. - if (isset($this->field_name)) { + // this causes issues for features reverting and installing field_collections + /*if (isset($this->field_name)) { // Ok, we have the field name property, we can proceed and check the field's type $field_info = $this->fieldInfo(); if (!$field_info || $field_info['type'] != 'field_collection') { throw new Exception("Invalid field name given: {$this->field_name} is not a Field Collection field."); } - } + }*/ } /**