Spyke
Upvote Bug

Upvote Bug

So I just noticed a small bug, when I click on a post and decided to upvote the post, then clicking the X in the corner or swiping back out of the post invalidates my upvote. I would have to click the upvote button for the post on the main feed page. Just a minor glitch, not sure if it has been reported.

25

Glad to see I'm not the only one who noticed.

0

Can confirm that this is something we've known for a while. The horizontal and vertical feeds manage data independently. The cache is essentially not getting updated when you vote. But your vote is indeed recorded, in fact if you vote in the horizontal feed first, go back to the vertical feed and then refresh it. You'll find your vote present. Trying to get this one fixed has proved harder than we thought. They say in programming there are only 2 problems. One is naming variables and the other is caching.

3
mrmiyamoto avatar

I don’t think it’s a glitch so much as the view doesn’t update when you load the post from the main feed and vice versa.

I’ve noticed this too and I’ve also worked in app development — I think the upvote is indeed recorded the first time, if you refresh your feed I think it would show up like normal. It just doesn’t refresh the opposite feed after a vote.

1
esxhan avatar

Yes you are correct. The horizontal and vertical feeds manage data independently. The cache is essentially not getting updated when you vote. But your vote is indeed recorded, in fact if you vote in the horizontal feed first, go back to the vertical feed and then refresh it. You'll find your vote present. Trying to get this one fixed has proven to be harder than we thought.

1

I’ve run into problems with this in web apps before. Can be pretty annoying, so I understand 😅

1
habitualcynic avatar

Interesting, looks like it does the same for me. I’ll upvote after backing out until it’s fixed

1

No need it. The vote is being recorded regardless. It's just that the vertical feed isn't being updated to reflect the vote.

0