# Bug with flag as spam

**URL:** https://meta.discourse.org/t/bug-with-flag-as-spam/25359
**Category:** Bug
**Created:** [2015年二月18日 14:39 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359 "2015-02-18T14:39:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ichpen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichpen/32/115584_2.png) [@ichpen](https://meta.discourse.org/u/ichpen)
#### Post date: [2015年二月18日 14:39 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/1 "2015-02-18T14:39:15Z")

</div>

As of some number of commits ago, every time I (as admin) flag a topic as spam and select delete user discourse does not redirect me back to the main page (or anywhere in fact), sits at the blank topic screen.

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [2015年二月18日 14:50 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/2 "2015-02-18T14:50:09Z")

</div>

What happens if you try refreshing the browser?

If I flag as Spam and then delete user, the topic page reloads (sometimes fairly slowly) with the post deleted and the user shown as “null”.

Which version of Discourse are you using?

---

<div class="post-metadata">

### Author: ![ichpen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichpen/32/115584_2.png) [@ichpen](https://meta.discourse.org/u/ichpen)
#### Post date: [2015年二月18日 14:55 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/3 "2015-02-18T14:55:31Z")

</div>

Using beta 9 (pull from 2 days ago). It just hangs on a blank page. I’ve left it for a good 30 seconds. Not sure if that’s sufficient time. I remember the null but that stopped working a few betas ago for me.

I’ll try browser refresh next time.

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [2015年二月18日 15:03 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/4 "2015-02-18T15:03:49Z")

</div>

Ah - we’re still on Beta4, so perhaps it’s to do with a recent change.

---

<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: [2015年二月18日 18:08 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/5 "2015-02-18T18:08:13Z")

</div>

Can you take a peek at this @zogstrip and see if there is a repro?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015年二月18日 19:34 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/6 "2015-02-18T19:34:23Z")

</div>

Thanks for reporting that. It’s now fixed 🐜

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

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015年二月18日 19:34 UTC](https://meta.discourse.org/t/bug-with-flag-as-spam/25359/7 "2015-02-18T19:34:27Z")

</div>


