I have a field collection with an addressfield, office_hours, and several other text fields. I just imported some data using fields_collection_feeds module. The data was imported and I can view the information when looking at the parent node or the field collection (/field-collection/field-addresses/###). However when I attempt to edit the address data either by going to the parent node or the field collection (/field-collection/field-addresses/###/edit), the address fields are empty. I tried adding new data to an address field in the field_collection and I am able to view and edit it.

Any suggestions on how I can edit the address information that was imported without having to rekey everything? Is there a better way to import this information.

Comments

shomari’s picture

Priority: Normal » Minor

I figured it out. The country field is empty. I compared the address entry that I manually added with the ones that were not editable. It seems that if the country field is empty, the values do not show up in the form. I went into the database, added the country, and cleared my cache (very important). I was then able to edit all the addresses!

johnv’s picture