[drupal-devel] [bug] Queue module does not count the last submitted
vote correctly
leongtd
drupal-devel at drupal.org
Sat Jul 23 08:01:45 UTC 2005
Issue status update for
http://drupal.org/node/27303
Post a follow up:
http://drupal.org/project/comments/add/27303
Project: Drupal
Version: 4.6.2
Component: queue.module
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: leongtd
Updated by: leongtd
Status: patch
Attachment: http://drupal.org/files/issues/drupal-4.6.2-queue-vote-fix.patch (438 bytes)
Queue module does not count the last submitted vote correctly. After the
user has submitted a vote, it wouldn't count as the vaild vote until
another user vote in.
Steps of reproduce:
- If the promotion threshold is set as 1.
- First user press +1 vote
Actual results:
- The vote just submitted won't get counted and the post won't be
promoted until second user vote +1 again.
Expected results:
- The vote should count and the promotion should be immediate.
Attached is the code to fix the problem.
leongtd
More information about the drupal-devel
mailing list