Hi,
When a user tries to vote again for the same node, it produces the following error:
user error: Duplicate entry '3-90' for key 1
query: INSERT INTO nodevote VALUES (3, 90, 10) in /home/mysite/public_html/includes/database.mysql.inc on line 66.
Hi,
When a user tries to vote again for the same node, it produces the following error:
user error: Duplicate entry '3-90' for key 1
query: INSERT INTO nodevote VALUES (3, 90, 10) in /home/mysite/public_html/includes/database.mysql.inc on line 66.
Comments
Comment #1
noid commentedJust found out that I was able to vote again because I was presented the cached page (with the Score this node pulldown).
At any rate, though the error is not critical, perhaps this could be addressed in the code just in case the aforementioned situation (cached page is served) is replicated? :)
Comment #2
kbahey commentedLowering priority to minor, since this is a caching issue and apart from the unsightly message, it is not important.
Comment #3
kbahey commentedThis is now implemented in 4.6 and 4.7. Users can change their vote anytime.
Comment #4
kbahey commentedComment #5
(not verified) commented