15

There is a problem with the front-end voting system on Area 51. When you first click on the score of an example question to view the up- and downvote count (only available for 1K+ users), and then try to vote, the votecount is incorrect.

How to reproduce:

  • Go to a random Area 51 proposal in the definition phase
  • Choose a random example question and click on the score to view the individual up- and downvote counts

enter image description here

  • Vote up or down
  • The votecount is now incorrect

enter image description here

If you retract the vote right away, the wrong count is updated correctly:

enter image description here

Refreshing the page does show the right value (15 after the upvote in this example).

  • 8
    Oh wow, "incorrect" doesn't quite cover it. :) – Adam Lear Jun 14 '13 at 17:46
  • @AnnaLear thanks for the screenshots! – Keelan Jun 14 '13 at 17:57
  • 7
    They just forgot to cast to integer, so "14" + "1" is indeed "141". :) – Shadow Jun 14 '13 at 22:34
  • I always thought it was funny how this bug only occurred on Area 51 and no other SE site. I'm glad you reported it. I've seen that bug for a long time but just never got around to reporting it myself. :) – jmort253 Jun 15 '13 at 2:24
5

Heh, good catch. This is fixed now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .