8

When you try to upvote a locked post, you end up with a message saying "locked posts can't be voted on":

Fail to upvote a locked post

Now when you try to upvote a comment related to a locked post - upvote that you also can't do - there is no message, but only the upvote arrow drawn and the upvote count of the comment erased:

Fail to upvote a locked comment

I get that there is no "error" message when you fail to upvote a comment, but is it normal that the upvote count is not drawn again after some sec? The only way to see the upvote count is then to refresh the page.

(Not that this is a major bug, but this is really disturbing me!)

7
  • I believe you can vote on comments on locked posts; there's an open request to disallow it Commented Nov 10, 2011 at 22:02
  • @MichaelMrozek Try it, but I can't. I don't think the request you linked is still up to date (19 Jul 2009).
    – Otiel
    Commented Nov 10, 2011 at 22:07
  • I did try it on a 2.0 site and it worked fine. Where's the post you're testing on? Commented Nov 10, 2011 at 22:19
  • @MichaelMrozek: stackoverflow.com/questions/1732348/…
    – Otiel
    Commented Nov 10, 2011 at 22:21
  • Hmm. It failed for me too, but I had other people test it on Meta Unix and Linux and it worked, so it's something else about that post or there's a difference between sites Commented Nov 10, 2011 at 22:28
  • @MichaelMrozek: I tried on other locked posts on SO, same results. Are you sure your people tested it on locked posts, and not closed questions?
    – Otiel
    Commented Nov 10, 2011 at 22:42
  • Ah, never mind. They thought it worked because the arrow lit up, but it didn't actually save, like you reported. I assume it worked for me because I'm a mod there, although normally mods can't bypass locks (e.g. I can't vote on the locked post directly). That's really odd Commented Nov 10, 2011 at 22:49

1 Answer 1

4

This will be fixed in the next deploy, the actual error message (already being sent to the browser) will actually be presented now (and the UI resetting as if no vote occurred, like you'd expect). It'll look like this:

comment error

1
  • 1
    Why not just remove the button altogether? Commented Jun 27, 2015 at 14:05

You must log in to answer this question.

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