Votecount bug +1 -> 0

fhelmschrott - May 28, 2007 - 21:16
Project:Voting Actions
Version:5.x-2.0b2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using up/down vote with voting actions to bring node to the frontpate with more or equal to 3 votes.

Condition: Credits / updownvote / sum / is greater or equal / 3

and nearly the same back if it's less than 3...

if i now give a new node one vote and another user substracts one vote the node get's published to the frontpage with 0 votes. Any idea?

Thanks,
Frank

#1

frjo - June 8, 2007 - 00:09

This sounds just like my problem that I describe in issue http://drupal.org/node/144927.

#2

patchak - July 29, 2007 - 14:27

I seem to have the same problem on my site. I tried setting the action to promote the node to the front page when it gets two points... I tried with "sum" AND with "count" and iN BOTH cases, the node was promoted to thefront page after it received one +1 and one -1. (two votes but 0 points)...

In both cases the node was promoted to the front page, as my action says to promote when a node reaches 2 points... I think there is a bug in the "sum" argument, since it behaves as a "count" function...

If anyone as any fixes for this, I'd be happy to test your patches!
Patchak

 
 

Drupal is a registered trademark of Dries Buytaert.