# Votes not being released after close

**URL:** https://meta.discourse.org/t/votes-not-being-released-after-close/96394
**Category:** Bug
**Tags:** topic-voting
**Created:** [September 5, 2018, 8:47am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394 "2018-09-05T08:47:53Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![JohnONolan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnonolan/32/93161_2.png) [@JohnONolan](https://meta.discourse.org/u/JohnONolan)
#### Post date: [September 5, 2018, 8:47am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/1 "2018-09-05T08:47:53Z")

</div>

> [@Discourse Topic Voting](https://meta.discourse.org/t/discourse-topic-voting/40121/1):
>
> - If the topic is closed or archived, the votes are released to the users and can be applied to other topics but the vote count on the topic remains.

Are there any known issues with this? It doesn’t seem to be working for us:

- I’m out of votes with a limit of 10, but only voted on 9 things here
- The two highlighted topics are both closed, but still appear on my votes page / I’m still out of votes

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/9/89a1aca28d804ab588a20df30df97dfd1cba1a86.jpeg)

Sounds similar to: [Closed topics not returning votes to users](https://meta.discourse.org/t/closed-topics-not-returning-votes-to-users/91808) - but the fix there was about moving topics between categories // which doesn’t apply here?

---

<div class="post-metadata">

### Author: ![plentymarkets\_david](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@plentymarkets\_david](https://meta.discourse.org/u/plentymarkets_david)
#### Post date: [September 18, 2018, 6:58am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/4 "2018-09-18T06:58:24Z")

</div>

Hi guys

I can confirm that the issue is not fixed that I also originally reported here:

> [@Closed topics not returning votes to users](https://meta.discourse.org/t/closed-topics-not-returning-votes-to-users/91808/8):
>
> Hi guys We are experiencing the same issue. Moving the thread into a category that has voting disabled or closing the thread does not release votes. Can somebody look into this soon? We have somewhere around 100 (and growing) out of a few thousand users that actively and regularly vote for topics and are complaining that they are all running out of votes. Regards David

We tested this on a test instance with discourse v.2.1.0-dirty with the latest version of the voting plugin including the fix by OsamaSayegh.

Neither moving the topic to category with voting disabled nor closing the post will release the votes.

---

<div class="post-metadata">

### Author: ![plentymarkets\_david](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@plentymarkets\_david](https://meta.discourse.org/u/plentymarkets_david)
#### Post date: [September 18, 2018, 8:40am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/6 "2018-09-18T08:40:08Z")

</div>

Actually nevermind. We just took the latest changes posted 12 days ago and it seems to be working. Sorry for the quick shots. Note: the current PR is still open, will it be reviewed any time soon?

---

<div class="post-metadata">

### Author: ![kspearrin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kspearrin/32/119546_2.png) [@kspearrin](https://meta.discourse.org/u/kspearrin)
#### Post date: [October 1, 2018, 2:33am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/10 "2018-10-01T02:33:26Z")

</div>

Does it work if just closing now? We don’t want to move the topic to another category.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 1, 2018, 2:35am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/11 "2018-10-01T02:35:56Z")

</div>

I think it should, can you give it a shot?

---

<div class="post-metadata">

### Author: ![lois](https://avatars.discourse-cdn.com/v4/letter/l/5f8ce5/32.png) [@lois](https://meta.discourse.org/u/lois)
#### Post date: [October 1, 2018, 10:41am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/12 "2018-10-01T10:41:21Z")

</div>

hii i’m a discourse newbie - can i gather from this thread that when a vote is closed, anyone who voted should be notified of the results?

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [October 1, 2018, 12:09pm UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/13 "2018-10-01T12:09:00Z")

</div>

That’s not what it means. You have a certain amount of votes that you can use at any given time, which should be reclaimed after a vote (you can vote on more things after old voting topics close). It wasn’t happening, and now it is. That is the bug being discussed.

---

<div class="post-metadata">

### Author: ![kspearrin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kspearrin/32/119546_2.png) [@kspearrin](https://meta.discourse.org/u/kspearrin)
#### Post date: [October 1, 2018, 12:36pm UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/14 "2018-10-01T12:36:33Z")

</div>

@sam @featheredtoast

I just tested this using `v2.2.0.beta2 +5`. I re-opened and re-closed a couple of topics that were previously closed with votes (when the bug was first occurring). After doing this, users that had voted in those topics report that they are still not able to vote because their previous votes were not reclaimed.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 8, 2021, 5:06am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/15 "2021-11-08T05:06:07Z")

</div>

So sorry, closing this as @Osama repaired the internal implementation a few years ago.

If there are any open issues with this please flag to reopen, or create a new topic.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 8, 2021, 5:06am UTC](https://meta.discourse.org/t/votes-not-being-released-after-close/96394/16 "2021-11-08T05:06:10Z")

</div>


