Closed (duplicate)
Project:
Flag
Version:
7.x-2.0-beta6
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2012 at 04:09 UTC
Updated:
11 Jul 2012 at 22:34 UTC
The process of deleting a user calls function flag_user_account_removal (flag.module) which decrements the count, attempting to update the row with a count of -1. It fails on line 621.
It needs to use the other function that is available, _update_count in flag.inc, which handles this case.
Thanks,
-guy
Comments
Comment #1
joachim commentedThanks for reporting this.
However, there's another issue for this, with a patch, at #1362260: Flag may attempt to decrement flag_counts below 0, causing PDO error (while deleting accounts).