Taxonomy manage fields wrong field edit url I have updated my project to the latest updates available using drush and suddenly found no field names and wrong field form url in 

 admin/structure/taxonomy/%taxonomy_name/fields


As in the picture, have that issue happened before and how to fix



Edit: I coudn't also be able to add new fields and fatal error occurs 

FieldException: Attempt to update an instance of a nonexistent field . in field_update_instance() (line 557 of /modules/field/field.crud.inc


despite being able to add/edit/delete terms

manage display return error 

Fatal error: Unsupported operand types in /modules/field_ui/field_ui.admin.inc on line 1025


The issue is reported in issue nr 1275900.

It only happened with taxonomy and other entities work fine.
The problem solved by simply patching the field module file-> field.module function named  field_extract_bundle

function field_extract_bundle($entity_type, $bundle) {
  if (is_string($bundle)) {
    return $bundle;
  }

$info = entity_get_info($entity_type);
if (is_object($bundle) &amp;&amp; isset($info['bundle keys']['bundle']) &amp;&amp;     isset($bundle-&gt;{$info['bundle keys']['bundle']})) {
return $bundle-&gt;{$info['bundle keys']['bundle']};
}
//ADDED THAT ELSE
else{
  return $bundle-&gt;machine_name;
 }
}


the function tries to return the machine name of the entity as appeared above.

By doing some debugging I realized that the the object sent in the calling function field_ui_field_overview_form file->field_ui.admin.inc is n't the same as sent in drupal script before our continuous development in that project.

We added many other modules and edit configuration but the most related that I think caused that issue is features exporting the taxonomy vocabulary as the bundle object is the same exported in features so it may be some missing or conflict happened when deploying vocabularies with features

Please contribute your ideas!