"taxonomy_overview_terms" from taxonomy module doesn't load full entities and works directly with DB loading and saving terms weight. I.e. from taxonomy_overview_terms_submit:
// Update term_hierachy and term_data directly since we don't have a
// fully populated term object to save.
db_update('taxonomy_term_hierarchy')
->fields(array('parent' => $term->parent))
->condition('tid', $term->tid, '=')
->execute();
db_update('taxonomy_term_data')
->fields(array('weight' => $term->weight))
->condition('tid', $term->tid, '=')
->execute();
As a result it creates inconsistencies between "taxonomy_term_data" and "taxonomy_term_data_revision" tables. Modules like taxonomy_menu won't work correctly. As a rough hack i added an additional form submit handler to "taxonomy_overview_terms" and manually sync DB tables, but it's not very clear... Maybe a new revision for every term should be created...
Comments
Comment #1
skylord commentedComment #2
David_Rothstein commentedThat seems like a reasonable start to me. I needed this too, so here's a patch.
Comment #3
David_Rothstein commentedComment #4
David_Rothstein commentedSame patch, but correct comment number this time.
Comment #5
skipyT commentedthanks, seems ok.
Comment #7
skipyT commented