Closed (fixed)
Project:
Taxonomy Views Integrator
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2011 at 10:11 UTC
Updated:
31 Jan 2013 at 00:24 UTC
On admin/content/taxonomy/edit/vocabulary/3 submit, I get:
user warning: Duplicate entry 'vocab-3' for key 'PRIMARY' query: INSERT INTO drupal_tvi_settings (`type`, `xid`, `view_id`, `display`, `status`) VALUES ('vocab', 3, 1, 'page_5', 1) in [...]/sites/all/modules/tvi/includes/tvi.query.inc on line 79.
Note that I use the Taxonomy Menu module too.
Comments
Comment #1
NaX commentedI just ran into the same problem. The problem is that mysqli_affected_rows returns 0 on a UPDATE where the record already exists but no data changed.
I have changed the
tvi_update_settings()function intvi/includes/tvi.query.incto the following.Comment #2
duaelfrFixed in the last version.