When I try to add a new term I get the following error.
user warning: Duplicate entry '282' for key 1 query: INSERT INTO term_data (tid, name, description, vid, weight) VALUES (282, 'term1', '', 4, 0) in /path/includes/database.mysql.inc on line 172.

The tid 282 is in another vocublary vid=3 not in vid=4. It sounds it is not checking vid just only tid.

Comments

wisdom’s picture

Category: bug » support
Status: Active » Fixed

This is already answered at http://drupal.org/comment/reply/262204/855752. I did make mistake to post twice.

The issue seems from my recent data reshuffling. I will try to fix that based on the solution provided which seems sound.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.