If I have a taxonomy tree like this (tids in parentheses):
Forest (140)
House (141)
|~Door (162)
|~Window (163)
Ground (535)
And I go to admin/content/taxonomy_manager/voc/7
, expand the house tree and click on Door to edit, then change something (add a synonym or whatever), it will do an AJAX POST to the server with the data to be updated.
This post has `edit-term-data-tid` set to 162 (correct) and `tid` set to 141 (the root term).
This causes the changes I've made to the child term (162) to be applied to the root term (141).
I think this is a result of the way the whole form structure is made, so I haven't made an attempt at fixing that, but I have changed the Drupal page callback to prefer `edit-term-data-tid` (and `edit-term-data-vid`) instead of the other values that point to the root.
This does solve the problem for me, and if this code is still maintained, someone should probably take a look at this.
Comment | File | Size | Author |
---|---|---|---|
2011-07-11-taxonomy_manager_ajax_root_update.patch | 987 bytes | mikl |
Comments
Comment #1
ivnish CreditAttribution: ivnish commented