Closed (won't fix)
Project:
Activity
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2009 at 20:24 UTC
Updated:
11 Sep 2010 at 21:43 UTC
When i'm trying to post comment as anonymous user (not logged in) it posts, but above the comment pops up error table with this text:
"user warning: Duplicate entry '57-0' for key 'PRIMARY' query: INSERT INTO activity_targets (aid, uid, amid) VALUES (57, 0, 114) in www.mysite.com\includes\common.inc on line 3422."
I've got Activity module v 2.x dev installed.
Comments
Comment #1
Kane commentedOh, forgot most important part. This error popsup when ajax comment is enabled. So i think i need to repost this issue in ajax comments module.
Comment #2
Scott Reynolds commentedya Anon posting in general is going to cause issues. This is because the public message has uid = 0; Perhaps we need to examine anon activity and use -1 as the public message?
Any activity with an anon user will not work
Comment #3
Scott Reynolds commentedOk so I added this stuff in. It won't always behave nicely though. For instance, comments you need to enforce users to leave a name in order for the comment name token to work.
http://drupal.org/cvs?commit=225294
Comment #4
Kane commentedThanks a lot!
Comment #5
Scott Reynolds commented?? Thats not part of that commit.
Comment #6
Kane commentedThat's why you should check all post which you make via cell phone :))
Comment #8
drewish commentedmarked #522098: Every time anonymous user posts a comment there is error message. Is it safe to use? as a duplicate of this. re-opening for the 1.x branch since it looks like it's still a problem there.
Comment #9
sirkitree commentedclosing. 1.x no longer supported.