Download & Extend

Duplicate entry '###' for key 'PRIMARY' query: UPDATE poll_votes SET uid = 0 WHERE uid = ###

Project:User Prune
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I'm getting a huge amount of these errors when trying to manually run the prune feature. It appears that the system does not want to modify poll information on polls that are still published.

Unfortunately it means that none of the poll_vote table records are removed, although the user is, leaving lots of orphaned poll vote records.

nobody click here