I'm using version 6.x-2.2 of the Taxonomy Manager module and have found that when you try and merge terms with incorrect syntax, both terms are deleted.

To reproduce:
1. Create a new vocabulary with terms to merge. In this example, my term ids are 6 and 7.
2. Select the two terms to merge.
3. In the Resulting merged term box, enter "taxonomy-term:[6]". After pressing merge, both of your terms will be deleted.


SpaJenniOs’s picture

Per the tooltip in the taxonomy manager, the proper syntax is 'term-id:[tid]'. This does not work.

All records in the following tables are deleted for any of the terms involved in the merge: term_data, term_hierarchy, term_node.

When I try to choose the term to be merged into using this syntax: term-id:tid the following happens:
1. I select two terms from my hierarchy and choose merge.
2. I enter the tid of one of the terms into the destination term field: term-id:999
3. I receive a message stating "Terms A, B merged into term-id:999". The page also displays the tid for a seemingly random tid that is empty except for a UUID.
4. I try to view the newly merged term and I get a 500 (PHP Fatal error: Unsupported operand types in includes/common.inc on line 2996)