Bug? Can't undo a vote in a non-voting category

AI-generated summary

Users stromfeldt and tiwane report a bug where votes remain visible on their profiles even after topics are moved to non-voting categories — making it impossible to undo those votes. sam suggests temporarily switching the category back and forth to resolve it, while david confirms votes are still stored in the database and asks how users verified votes weren’t returned. tiwane confirms by checking user activity tabs, showing votes persisting. A recent plugin update (fd5c6d9) is noted to fix the “can’t undo” issue. stromfeldt confirms the issue persists and asks whether admins need to update the plugin or take action. The core problem: votes aren’t automatically removed or refunded when topics leave voting categories, and users can’t manually undo them — a known issue now addressed in the latest plugin version.

For some reason I’ve got a non-voting topic listed in my votes over on the Ghost forum (the fourth “vote” in the image below). It’s possible that the topic used to be a voting topic and got switched away from being so (I don’t recall), which is why I have a vote for it. Either way, I can’t undo my (supposed) vote for it because it can’t be voted for. Am I missing something, or is this in fact a bug?

4 likes

My guess is that this topic was moved around, @david recently fixed some issues here.

Can you flag your topic and ask moderators on ghost to flick the category back to Ideas and then back again to Themes? In theory this will clean up the issue.

If this persists let us know here and we can help investigate.

3 likes

Encountering something similar here: Share observations between users - Feature Requests - iNaturalist Community Forum It was in our Feature Requests category and had 22 votes, and I moved to to General, a non-voting category. No votes were returned to anyone, as far as I can tell. Tried closing and unclosing the topic while it was in General but that didn’t work, and I also moved it back to Feature Requests then back to General but no dice.

@tiwane when you move/close a topic, the votes are still stored in the database. How dd you determine whether the votes had been returned?

@stromfeldt did you manage to resolve the issue you were seeing on the Ghost forum?

2 likes

By looking at the users’ profiles and going to the Votes section of their activity tab. EG, I just moved a topic from Feature Requests to General ('Pronunciation' feature for taxonomic names - Feature Requests - iNaturalist Community Forum) but the two users who originally voted for it still have it on their profile, eg Profile - agnes_clamfanger - iNaturalist Community Forum

A few improvements have been applied to the voting plugin recently, the most recent of which is

https://github.com/discourse/discourse-voting/commit/fd5c6d91f925fbfb6953ac4bd55cc4fb17e2e518

That should resolve the “can’t undo” votes issue for topics in non-voting categories

2 likes

This topic was automatically closed after 14 days. New replies are no longer allowed.

Sorry for my tardiness in getting back to this, but I just noticed that my vote in a non-voting category still exists (which I thought had disappeared, but I could be wrong):

Might there be something that an admin on the the Ghost forum would need to do to rectify this, and/or might it possibly be because they need to update the plugin?

Thanks again.

1 like