# Can't flag a closed topic a second time

**URL:** https://meta.discourse.org/t/cant-flag-a-closed-topic-a-second-time/28456
**Category:** Bug
**Tags:** review-queue
**Created:** [May 7, 2015, 4:01pm UTC](https://meta.discourse.org/t/cant-flag-a-closed-topic-a-second-time/28456 "2015-05-07T16:01:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [May 7, 2015, 4:01pm UTC](https://meta.discourse.org/t/cant-flag-a-closed-topic-a-second-time/28456/1 "2015-05-07T16:01:10Z")

</div>

Continuing the discussion from [Should it be possible to flag a closed issue?](https://meta.discourse.org/t/should-it-be-possible-to-flag-a-closed-issue/27876):

> [@Should it be possible to flag a closed issue?](https://meta.discourse.org/t/should-it-be-possible-to-flag-a-closed-issue/27876/1):
>
> I just tried to flag this closed issue (the problem happened again) and received a 500 error on meta.

So, I’m trying to re-open this topic:

> [@Newly approved members remain visible after approval](https://meta.discourse.org/t/newly-approved-members-remain-visible-after-approval/27636/):
>
> Repro: Get notified of a pending member visit the admin page at /admin/users/list/pending click the checkbox next to the new person click Approve at the bottom of the screen dismiss the congratulatory dialog box View that the user is still listed. Expected: that the account is no longer visible refresh the page and the user will no longer be listed (as the approval was carried out successfully) Bonus points for providing a link to /admin/users/list/new so the new user(s) can be reviewed

because I still have that issue.

However, I’ve already flagged it once, and I’m getting a 500 error on meta.

I tried to flag the follow up:

> [@Should it be possible to flag a closed issue?](https://meta.discourse.org/t/should-it-be-possible-to-flag-a-closed-issue/27876):
>
> Continuing the discussion from [Newly approved members remain visible after approval](https://meta.discourse.org/t/newly-approved-members-remain-visible-after-approval/27636/5): I just tried to flag this closed issue (the problem happened again) and received a 500 error on meta. Should the flag button be disabled, or should flags be allowed on closed topics, or ?

and I think it worked once, but can’t tell, and I get a 500 error when I try a second time.

So, I have a new bug, and I’d like topic 27636 re-opened for discussion, please.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 7, 2015, 4:42pm UTC](https://meta.discourse.org/t/cant-flag-a-closed-topic-a-second-time/28456/2 "2015-05-07T16:42:04Z")

</div>

Flagging a topic/post is only allowed once per user, as per this code:

> <https://github.com/discourse/discourse/blob/main/lib/guardian/post_guardian.rb#L21>

I will improve the error message to make it more clear.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [May 7, 2015, 7:34pm UTC](https://meta.discourse.org/t/cant-flag-a-closed-topic-a-second-time/28456/3 "2015-05-07T19:34:42Z")

</div>

Thanks @techAPJ

I was getting a 500 error on meta, not a message saying my action wasn’t allowed.

Also, I hope that the message would be displayed before I can enter my post.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 27, 2015, 5:29am UTC](https://meta.discourse.org/t/cant-flag-a-closed-topic-a-second-time/28456/4 "2015-05-27T05:29:53Z")

</div>


