From 34c6cdd66bac4c7b0c262cc2873c88a65f7b591c Mon Sep 17 00:00:00 2001 From: webchick Date: Thu, 10 Mar 2011 01:40:12 -0600 Subject: Issue #1022924 by yched, chx: Fixed critical bug: Updates are broken for deleted fields in installs upgraded from rc1. --- modules/taxonomy/taxonomy.install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index e19f175ca..f28ffedf4 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -566,8 +566,12 @@ function taxonomy_update_7005(&$sandbox) { // of term references stored so far for the current revision, which // provides the delta value for each term reference data insert. The // deltas are reset for each new revision. - - $field_info = _update_7000_field_read_fields(); + + $conditions = array( + 'type' => 'taxonomy_term_reference', + 'deleted' => 0, + ); + $field_info = _update_7000_field_read_fields($conditions, 'field_name'); // This is a multi-pass update. On the first call we need to initialize some // variables. -- cgit v1.2.3