Index: taxonomy.action.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_bulk_operations/Attic/taxonomy.action.inc,v
retrieving revision 1.1.2.15
diff -u -p -r1.1.2.15 taxonomy.action.inc
--- taxonomy.action.inc	22 Mar 2010 07:33:39 -0000	1.1.2.15
+++ taxonomy.action.inc	17 Dec 2010 19:27:32 -0000
@@ -89,6 +89,27 @@ function views_bulk_operations_taxonomy_
     $taxonomy['tags'] = $tags;
   }
   $node->taxonomy = $taxonomy;
+
+  //Match content taxonomy fields with his respective vocabulary for Add/Replace/Replace Vocabulary
+  if (module_exists('content')) {
+        $type_name = is_string($node) ? $node : (is_array($node) ? $node['type'] : $node->type);
+        $type = content_types($type_name);
+
+        foreach ($type['fields'] as $field) {
+            if ($field['vid']) {
+                $vid = $field['vid'];
+                $term_values = $node->taxonomy[$field['vid']];
+                $new_values = array();
+                if (is_array($term_values))
+                    foreach ($term_values as $value)
+                        $new_values[]['value'] = $value;
+
+                else
+                    $new_values[]['value'] = $term_values;
+            }
+            $node->$field['field_name'] = $new_values;
+        }
+    }
 }
 
 function views_bulk_operations_taxonomy_action_form($context) {

