[drupal-devel] [bug] Queue module does not count the last submitted
vote correctly
Uwe Hermann
drupal-devel at drupal.org
Mon Sep 19 02:29:59 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: Uwe Hermann
Status: patch (code needs review)
AFAIK queue module has been removed from core. What should happen with
this?
Uwe Hermann
Previous comments:
------------------------------------------------------------------------
Sat, 23 Jul 2005 08:01:26 +0000 : leongtd
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.
More information about the drupal-devel
mailing list