1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Change Your Vote in Poll not working properly

Discussion in 'Resolved Bug Reports' started by AndyB, Sep 2, 2014.

  1. AndyB

    AndyB Well-Known Member

    When I vote in a poll and then later decide I want to change or remove my vote, I click the "Change Your Vote" button and my vote is removed (or no longer shown). At this point I might decide that I don't want to vote at all in this poll and leave the thread. This unfortunately is not how the "Change Your Vote" button works, my vote was not removed as shown, rather it was just not showing. If I reload the page my vote shows again.

    I feel this is a bug as it shows the vote as being removed when I click the "Change Your Vote" button, but it reality the vote is not removed. Very confusing.

    Please change the button to read, "Remove My Vote" and change the code to actually remove the vote when the button is clicked. If I then decide to vote again I can, or choose not to vote.

    Thank you.
    Pinn and sayden like this.
  2. Amaury

    Amaury Well-Known Member

    Can you provide some reproduction steps?

    I'm not seeing any button named Change Your Vote nor can I find a phrase called changed_your_vote.

    Edit: Never mind. I think these were things added in 1.4, which I assume you're on?
  3. Chris D

    Chris D XenForo Developer Staff Member

    That would be a suggestion, surely?

    The button is clear: "Change my vote". It is designed to change your vote, not remove an existing one.
  4. AndyB

    AndyB Well-Known Member

    Correct this is on XenForo v1.4 RC1.
  5. AndyB

    AndyB Well-Known Member

    I feel this is a bug because it shows removing the vote when the button is clicked when in reality it's not removing the vote.

    If I were to click the "Change Your Vote" button and my current vote remained on the screen, then it would work logically. However the current vote is removed from view which most people would assume the vote has been removed.
  6. Mike

    Mike XenForo Developer Staff Member

    As the button is labeled "change your vote", it is explicitly not "remove your vote". It is a 2 step process. As such, this is as designed. I'm pretty sure there is already a suggestion relating to vote removal.
    Chris D likes this.

Share This Page