This error is being produced when editing a comment.
user warning: Duplicate entry '0' for key 1 query: UPDATE comment_revisions_actual SET vid = 0 WHERE cid = 673 in /var/www/vhosts/mysite/includes/database.mysql.inc on line 174.

It also happens with the equivalent INSERT sql.

(Nice to see you've taken over the module, it's good not to have to use a custom version :))

CommentFileSizeAuthor
#1 comment_revisions-831100-1.patch986 bytesagileware

Comments

agileware’s picture

Status: Active » Needs review
StatusFileSize
new986 bytes

Here is a patch that fixes it.

agileware’s picture

The problem shouldn't affect the 6.x-1.1 version.

thinkyhead’s picture

Assigned: Unassigned » thinkyhead
Status: Needs review » Closed (fixed)