Download & Extend

Every time anonymous user posts a comment there is error message. Is it safe to use?

Project:Activity
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Every time anonymous user posts a comment there is this error message,
which happens even if the anon user has entered his name, email and all credentials.

user warning: Duplicate entry '393-0' for key 'PRIMARY' query: INSERT INTO activity_targets (aid, target_uid, target_role) VALUES (393, 0, 'author') in .../activity/activity.module on line 503.

This issue was discussed in http://drupal.org/node/484578
and marked as feature request and FIXED (how?) but this continues to happen. Any quick and dirty fix ? Is adding error reporting 0 ok from all other aspects meaning it will not crash database or eat resources ?

Comments

#1

Title:[Activity]Every time anonymous user posts a comment there is error message. Is it safe to use?» Every time anonymous user posts a comment there is error message. Is it safe to use?
Status:active» closed (duplicate)

reopened #484578: make anonymous user activity work. that fix should be backported.