I recently voted on an answer that had just been posted, but then (during the 5 minute invisible edit grace period) it was edited in a way that caused me to want to retract my vote. However, I get this message:
Your vote is now locked in unless this answer is edited
Shouldn't these hidden edits unlock votes in the same way that visible edits do?
To reproduce (I guess you'll need two users):
In the first five minutes:
- User A posts a once sentence answer
- User B votes on the answer
- User A edits the answer (since this edit is in the first five minutes, there isn't any edit history)
There is now an answer that doesn't say it has been edited, that user B has voted on. All is well, until:
- After some time (say 7 minutes after User B voted), User B sees the edited answer, and wants to change or retract their vote. But when they try to do so:
- The system rejects the vote change because the answer "has not been edited"
This bug has been reported before (and closed as completed), but the workaround only works if User B notices the edit in the first five minutes. Additionally, the workaround causes the error message to be incorrect.
Expected: Ideally the vote change succeeds, because the answer has been edited. Or, less desirably, the error message instead reads "your vote is now locked because you voted 5 minutes ago"
Actual: Vote fails with the incorrect error message "Vote is now locked in unless this answer is edited".