Drupal script to fix field collection items associated with multiple entities due to Content Translation/Node Clone bug.
**NOTE: This update hook gives every field collection item found to be associated with more than one node a new item_id
. I haven't experienced any problems with doing this, but if you are doing anything special in your use case with the item_id
s or revision_id
s of field collection items, you should test thoroughly after running this update.
You should test thoroughly anyway, really.
TAKE A BACKUP.