# Custom flag not showing text

**URL:** https://meta.discourse.org/t/custom-flag-not-showing-text/76244
**Category:** Bug
**Created:** [December 17, 2017, 3:06am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244 "2017-12-17T03:06:28Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Chris\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris_s/32/138374_2.png) [@Chris\_S](https://meta.discourse.org/u/Chris_S)
#### Post date: [December 17, 2017, 3:06am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/1 "2017-12-17T03:06:28Z")

</div>

Received flag does not show user entered text reason. This makes it difficult to moderate posts as moderators have to Pm the user to see why the flag was submitted.

**Steps to Reproduce:**

- User flags a post.
- Flag is sent to moderators/staff.

**Expected Results:**

- Flag is shown with user entered custom text

**Actual Results:**

- Flag is shown as custom but no reason is displayed even though the user entered one.

---

<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: [December 17, 2017, 7:41am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/2 "2017-12-17T07:41:06Z")

</div>

Shows up fine for me on [https://try.discourse.org](https://try.discourse.org) when flagging with a custom reason. Is your Discourse out of date? What version is it?

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/f/8fdd1e6456f9d86cd7faf1383a317c3b18396000.png)

---

<div class="post-metadata">

### Author: ![Chris\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris_s/32/138374_2.png) [@Chris\_S](https://meta.discourse.org/u/Chris_S)
#### Post date: [December 17, 2017, 5:01pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/3 "2017-12-17T17:01:17Z")

</div>

The header shows - Discourse 1.9.0.beta16.

---

<div class="post-metadata">

### Author: ![schyllberg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schyllberg/32/77133_2.png) [@schyllberg](https://meta.discourse.org/u/schyllberg)
#### Post date: [December 17, 2017, 5:16pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/4 "2017-12-17T17:16:29Z")

</div>

Just to add, it’s IFC Chris is talking about ([community.infinite-flight.com](http://community.infinite-flight.com)). 🙂

Also heard from a user that nothing shows up in their “Sent”-box as it usually does when flagging custom. Haven’t checked this myself yet though.

---

<div class="post-metadata">

### Author: ![schyllberg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schyllberg/32/77133_2.png) [@schyllberg](https://meta.discourse.org/u/schyllberg)
#### Post date: [December 17, 2017, 7:17pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/5 "2017-12-17T19:17:28Z")

</div>

And i just noticed, we last received a flag notification in the Moderators inbox three days ago.

---

<div class="post-metadata">

### Author: ![Chris\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris_s/32/138374_2.png) [@Chris\_S](https://meta.discourse.org/u/Chris_S)
#### Post date: [December 17, 2017, 7:37pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/6 "2017-12-17T19:37:08Z")

</div>

Did some more testing. If a moderator flags, then the text shows. But if a normal user does it then no text appears.

---

<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: [December 17, 2017, 10:14pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/7 "2017-12-17T22:14:02Z")

</div>

Ok can you repro @jomaxro?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 17, 2017, 10:54pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/8 "2017-12-17T22:54:30Z")

</div>

I think I saw this on Friday cc @hawk. Will test tomorrow.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 18, 2017, 12:57am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/10 "2017-12-18T00:57:15Z")

</div>

Was able to test tonight. ~~I cannot reproduce a missing message from a custom flag on a post or a topic.~~ I did see this on Friday (see below), but did not get to test it then.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/2/822cbc717d501065a4dd978bbf9535cf3cda5e01.png)

Edit: Oh! I see that it needs to be a non-staff user flagging. Let me retest.

Edit 2: OK, I can repro this when flagging a post with a non-staff (TL1) user. Recategorizing this as a #Contribute > Bug.

---

<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: [December 18, 2017, 1:18am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/11 "2017-12-18T01:18:14Z")

</div>

This one is for you @eviltrout

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [December 18, 2017, 8:19pm UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/14 "2017-12-18T20:19:59Z")

</div>

This is being caused by [this security fix](https://github.com/discourse/discourse/commit/f2565f6c7efb7a2e3323d5836fef085bb36054e6). When attaching a note to a flag it invites groups to view it, and as a regular user you can no longer do this. Re-assigning this to @tgxworld since it’s related to a security fix that I don’t want to break.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 19, 2017, 2:17am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/15 "2017-12-19T02:17:14Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/b39d3a863ded81ff4dcc15caf3e55b087f8c3566](https://github.com/discourse/discourse/commit/b39d3a863ded81ff4dcc15caf3e55b087f8c3566)

with tests.

When I pushed the security fix out, I made sure to update the moderators group’s messageable level to `everyone` but I didn’t do it right xD

---

<div class="post-metadata">

### Author: ![Lilly\_S](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@Lilly\_S](https://meta.discourse.org/u/Lilly_S)
#### Post date: [December 19, 2017, 2:31am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/16 "2017-12-19T02:31:11Z")

</div>

Is the fix live now? We’re still having the issue on [devforum.roblox.com](http://devforum.roblox.com)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 19, 2017, 2:31am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/17 "2017-12-19T02:31:47Z")

</div>

Not yet. We’ll be deploying our customers shortly once the build is complete.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 19, 2017, 3:02am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/18 "2017-12-19T03:02:01Z")

</div>

Pushed up another fix which was the reason why we got bitten here.

[https://github.com/discourse/discourse/commit/30ddc1f2226df0e6b553cc96de2f4f6543e42b57](https://github.com/discourse/discourse/commit/30ddc1f2226df0e6b553cc96de2f4f6543e42b57)

---

<div class="post-metadata">

### Author: ![schyllberg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schyllberg/32/77133_2.png) [@schyllberg](https://meta.discourse.org/u/schyllberg)
#### Post date: [December 23, 2017, 12:11am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/19 "2017-12-23T00:11:05Z")

</div>

I know it’s Christmas time and all that fun, but just checking up on this one. Any news on when it will be deployed?

Thanks! 🙂

---

<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: [December 23, 2017, 12:23am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/20 "2017-12-23T00:23:54Z")

</div>

Pretty sure this was already deployed to our hosted customers. Which site are you referring to specifically?

---

<div class="post-metadata">

### Author: ![schyllberg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schyllberg/32/77133_2.png) [@schyllberg](https://meta.discourse.org/u/schyllberg)
#### Post date: [December 23, 2017, 12:25am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/21 "2017-12-23T00:25:02Z")

</div>

It’s for:  
[community.infinite-flight.com](http://community.infinite-flight.com)

Just had a custom flag a few minutes ago, still the same. And we’re not getting anything in the Moderator inbox.

Just got this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/a/0aae5414d0e1fdca7381ea4cbf67634aad08c075.png)

---

<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: [December 23, 2017, 12:28am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/22 "2017-12-23T00:28:58Z")

</div>

OK @tgxworld be sure to deploy that site when you get a chance.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 23, 2017, 12:48am UTC](https://meta.discourse.org/t/custom-flag-not-showing-text/76244/23 "2017-12-23T00:48:38Z")

</div>

Deployed 🙂

[Next page](https://meta.discourse.org/t/custom-flag-not-showing-text/76244.md?page=2)
