Comment 2 for bug 197095

Revision history for this message
Stéphane Graber (stgraber) wrote :

Confirmed on my local setup (so not flooded as the main website).

I create an idea with id=6, then I -1 it :
qawebsite=> SELECT * FROM qapoll_vote WHERE choiceid='6';
 id | choiceid | userid | date | value
----+----------+--------+---------------------+-------
  7 | 6 | 1 | 2008-03-02 01:15:03 | -1
(1 row)

and now I +1 it :

qawebsite=> SELECT * FROM qapoll_vote WHERE choiceid='6';
 id | choiceid | userid | date | value
----+----------+--------+---------------------+-------
  7 | 6 | 1 | 2008-03-02 01:15:03 | 1
(1 row)

The value changed and that shouldn't be possible, I'm increasing the priority.